diff options
author | Brian Colonna <bcolonna@google.com> | 2012-04-09 14:55:23 -0400 |
---|---|---|
committer | Brian Colonna <bcolonna@google.com> | 2012-04-09 16:36:28 -0400 |
commit | f66e930e726f4caf49b7d47c08d160b14628c99f (patch) | |
tree | e56fda006a71b2bbc7cb3dedec982d1ed97bba6f /policy/src | |
parent | 425c726ae0691cadc1b03b5f3726368fbdc46bff (diff) | |
download | frameworks_base-f66e930e726f4caf49b7d47c08d160b14628c99f.zip frameworks_base-f66e930e726f4caf49b7d47c08d160b14628c99f.tar.gz frameworks_base-f66e930e726f4caf49b7d47c08d160b14628c99f.tar.bz2 |
Passing useLiveliness flag to FUL in startUi call
Because of changes in support of multi-user functionaity, the FUL
'eye blink' checkbox was no longer enabling liveliness detection.
It no longer makes sense to check the biometric flags (such as the
liveliness flag) inside of the Face Unlock service. Instead, that
flag is now passed in from lockscreen via the aidl interface when
startUi is called.
Change-Id: I591cf1924fbb24da7d54b94ef29824e5197d3b20
Diffstat (limited to 'policy/src')
-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 2ae99e6..985dcd3 100644 --- a/policy/src/com/android/internal/policy/impl/FaceUnlock.java +++ b/policy/src/com/android/internal/policy/impl/FaceUnlock.java @@ -291,7 +291,8 @@ public class FaceUnlock implements Handler.Callback { if (!mServiceRunning) { if (DEBUG) Log.d(TAG, "Starting FaceLock"); try { - mService.startUi(windowToken, x, y, w, h); + mService.startUi(windowToken, x, y, w, h, + mLockPatternUtils.isBiometricWeakLivelinessEnabled()); } catch (RemoteException e) { Log.e(TAG, "Caught exception starting FaceLock: " + e.toString()); return; |