From 4fa995a932d876b98c393c909c4eb2e303783e59 Mon Sep 17 00:00:00 2001 From: Uriel Rodriguez Date: Wed, 30 May 2012 20:01:38 -0400 Subject: [PATCH] BUG 5457035 : Anti-spoofing : DO NOT MERGE Squashed commit of the following: commit c0969669a6bd55df805665c17e088456c1672da3 Author: Danielle Millett Date: Wed May 30 15:41:22 2012 -0400 Turning liveliness back on As part of the change of putting in the new head turn option, it's now passing in the correct value to Face Unlock instead of forcing it to always be false. Change-Id: I745da5431cbc2d447f3d07ec7215c5b1850f6d57 Change-Id: I36a819b43e89a463bb3bb3ede0db36477fd45066 --- policy/src/com/android/internal/policy/impl/FaceUnlock.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/policy/src/com/android/internal/policy/impl/FaceUnlock.java b/policy/src/com/android/internal/policy/impl/FaceUnlock.java index 737ea47c4b4fd..22b854ec838cb 100644 --- a/policy/src/com/android/internal/policy/impl/FaceUnlock.java +++ b/policy/src/com/android/internal/policy/impl/FaceUnlock.java @@ -468,7 +468,8 @@ public class FaceUnlock implements BiometricSensorUnlock, Handler.Callback { if (!mServiceRunning) { Log.d(TAG, "Starting Face Unlock"); try { - mService.startUi(windowToken, x, y, w, h, false); + mService.startUi(windowToken, x, y, w, h, + mLockPatternUtils.isBiometricWeakLivelinessEnabled()); } catch (RemoteException e) { Log.e(TAG, "Caught exception starting Face Unlock: " + e.toString()); return;