From 46bbdec799002a33c5890f70225bef9f23fdef93 Mon Sep 17 00:00:00 2001 From: Danielle Millett Date: Mon, 14 May 2012 17:17:32 -0400 Subject: 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 --- policy/src/com/android/internal/policy/impl/FaceUnlock.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/policy/src/com/android/internal/policy/impl/FaceUnlock.java b/policy/src/com/android/internal/policy/impl/FaceUnlock.java index ffdeeb1..3e113ff 100644 --- a/policy/src/com/android/internal/policy/impl/FaceUnlock.java +++ b/policy/src/com/android/internal/policy/impl/FaceUnlock.java @@ -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()); -- cgit v1.1