Skip to content

Commit 0b2b1fe

Browse files
Brian ColonnaAndroid (Google) Code Review
authored andcommitted
Merge "Passing useLiveliness flag to FUL in startUi call"
2 parents c38cf4c + f66e930 commit 0b2b1fe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/java/com/android/internal/policy/IFaceLockInterface.aidl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ import com.android.internal.policy.IFaceLockCallback;
2020

2121
/** {@hide} */
2222
interface IFaceLockInterface {
23-
void startUi(IBinder containingWindowToken, int x, int y, int width, int height);
23+
void startUi(IBinder containingWindowToken, int x, int y, int width, int height,
24+
boolean useLiveliness);
2425
void stopUi();
2526
void registerCallback(IFaceLockCallback cb);
2627
void unregisterCallback(IFaceLockCallback cb);

policy/src/com/android/internal/policy/impl/FaceUnlock.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ public void start(IBinder windowToken, int x, int y, int w, int h) {
291291
if (!mServiceRunning) {
292292
if (DEBUG) Log.d(TAG, "Starting FaceLock");
293293
try {
294-
mService.startUi(windowToken, x, y, w, h);
294+
mService.startUi(windowToken, x, y, w, h,
295+
mLockPatternUtils.isBiometricWeakLivelinessEnabled());
295296
} catch (RemoteException e) {
296297
Log.e(TAG, "Caught exception starting FaceLock: " + e.toString());
297298
return;

0 commit comments

Comments
 (0)