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

Commit 46bbdec7 authored by Danielle Millett's avatar Danielle Millett
Browse files

Setting liveliness to off

This is part of the change to remove the blink checkbox.  Since the
blink checkbox won't be visible anymore, we want to set liveliness to
off instead of checking the current value.

Change-Id: Iaa68cea8ec0a6012eaaaac77cea0f50575b7e660
parent 1d1a5273
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -469,10 +469,8 @@ public class FaceUnlock implements BiometricSensorUnlock, Handler.Callback {
                    if (mLockPatternUtils == null) {
                        Log.d(TAG, "mLockPatternUtils is null");
                    }
                    Log.d(TAG, "x,y,w,h,live: " + x + "," + y + "," + w + "," + h + "," +
                            (mLockPatternUtils.isBiometricWeakLivelinessEnabled()?"yes":"no"));
                    mService.startUi(windowToken, x, y, w, h,
                            mLockPatternUtils.isBiometricWeakLivelinessEnabled());
                    Log.d(TAG, "x,y,w,h,live: " + x + "," + y + "," + w + "," + h + ", no");
                    mService.startUi(windowToken, x, y, w, h, false);
                    Log.d(TAG, "mService.startUi() called");
                } catch (RemoteException e) {
                    Log.e(TAG, "Caught exception starting Face Unlock: " + e.toString());