Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b2b1fea authored by Brian Colonna's avatar Brian Colonna Committed by Android (Google) Code Review
Browse files

Merge "Passing useLiveliness flag to FUL in startUi call"

parents c38cf4c7 f66e930e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -20,7 +20,8 @@ import com.android.internal.policy.IFaceLockCallback;

/** {@hide} */
interface IFaceLockInterface {
    void startUi(IBinder containingWindowToken, int x, int y, int width, int height);
    void startUi(IBinder containingWindowToken, int x, int y, int width, int height,
            boolean useLiveliness);
    void stopUi();
    void registerCallback(IFaceLockCallback cb);
    void unregisterCallback(IFaceLockCallback cb);
+2 −1
Original line number Diff line number Diff line
@@ -291,7 +291,8 @@ public class FaceUnlock implements Handler.Callback {
                if (!mServiceRunning) {
                    if (DEBUG) Log.d(TAG, "Starting FaceLock");
                    try {
                        mService.startUi(windowToken, x, y, w, h);
                        mService.startUi(windowToken, x, y, w, h,
                                mLockPatternUtils.isBiometricWeakLivelinessEnabled());
                    } catch (RemoteException e) {
                        Log.e(TAG, "Caught exception starting FaceLock: " + e.toString());
                        return;