diff options
author | Uriel Rodriguez <urodriguez@google.com> | 2012-05-30 20:01:38 -0400 |
---|---|---|
committer | Uriel Rodriguez <urodriguez@google.com> | 2012-05-30 20:01:38 -0400 |
commit | 4fa995a932d876b98c393c909c4eb2e303783e59 (patch) | |
tree | ba18b77738ab3470dbf6bd655b997486ea5163ec /policy | |
parent | 6713024727039004fa1f59a5ad4cad1f3c5f57f4 (diff) | |
download | frameworks_base-4fa995a932d876b98c393c909c4eb2e303783e59.zip frameworks_base-4fa995a932d876b98c393c909c4eb2e303783e59.tar.gz frameworks_base-4fa995a932d876b98c393c909c4eb2e303783e59.tar.bz2 |
BUG 5457035 : Anti-spoofing : DO NOT MERGE
Squashed commit of the following:
commit c0969669a6bd55df805665c17e088456c1672da3
Author: Danielle Millett <dmillett@google.com>
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
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/FaceUnlock.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/FaceUnlock.java b/policy/src/com/android/internal/policy/impl/FaceUnlock.java index 737ea47..22b854e 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; |