Skip to content

Commit 4fa995a

Browse files
author
Uriel Rodriguez
committed
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
1 parent 6713024 commit 4fa995a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

policy/src/com/android/internal/policy/impl/FaceUnlock.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,8 @@ private void startUi(IBinder windowToken, int x, int y, int w, int h) {
468468
if (!mServiceRunning) {
469469
Log.d(TAG, "Starting Face Unlock");
470470
try {
471-
mService.startUi(windowToken, x, y, w, h, false);
471+
mService.startUi(windowToken, x, y, w, h,
472+
mLockPatternUtils.isBiometricWeakLivelinessEnabled());
472473
} catch (RemoteException e) {
473474
Log.e(TAG, "Caught exception starting Face Unlock: " + e.toString());
474475
return;

0 commit comments

Comments
 (0)