diff options
author | Jim Miller <jaggies@google.com> | 2014-01-14 18:57:03 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2014-01-27 15:21:39 -0800 |
commit | 7751ff6cd079e59e3c1f2404198774cd371ea69f (patch) | |
tree | 30030a609b5152d9c42a03af1bcd4409add2ad01 /packages/Keyguard/src/com/android/keyguard/FaceUnlock.java | |
parent | db7516e3bd24589525c42b9b4761381b547dc3be (diff) | |
download | frameworks_base-7751ff6cd079e59e3c1f2404198774cd371ea69f.zip frameworks_base-7751ff6cd079e59e3c1f2404198774cd371ea69f.tar.gz frameworks_base-7751ff6cd079e59e3c1f2404198774cd371ea69f.tar.bz2 |
Move majority of security-related logic from KeyguardHostView
to KeyguardSecurityContainer.
This removes and/or simplifies the interface between modules to
allow easier separation of KeyguardSecurityContainer into a stand-alone
component.
Bug 12135931
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/FaceUnlock.java')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/FaceUnlock.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/FaceUnlock.java b/packages/Keyguard/src/com/android/keyguard/FaceUnlock.java index 689366b..de839c6 100644 --- a/packages/Keyguard/src/com/android/keyguard/FaceUnlock.java +++ b/packages/Keyguard/src/com/android/keyguard/FaceUnlock.java @@ -304,7 +304,7 @@ public class FaceUnlock implements BiometricSensorUnlock, Handler.Callback { int currentUserId = mLockPatternUtils.getCurrentUser(); if (authenticatedUserId == currentUserId) { if (DEBUG) Log.d(TAG, "Unlocking for user " + authenticatedUserId); - mKeyguardScreenCallback.reportSuccessfulUnlockAttempt(); + mKeyguardScreenCallback.reportUnlockAttempt(true); mKeyguardScreenCallback.dismiss(true); } else { Log.d(TAG, "Ignoring unlock for authenticated user (" + authenticatedUserId + @@ -335,7 +335,7 @@ public class FaceUnlock implements BiometricSensorUnlock, Handler.Callback { // next time the user visits keyguard. KeyguardUpdateMonitor.getInstance(mContext).setAlternateUnlockEnabled(false); - mKeyguardScreenCallback.reportFailedUnlockAttempt(); + mKeyguardScreenCallback.reportUnlockAttempt(false); } /** |