diff options
author | Jim Miller <jaggies@google.com> | 2015-07-07 13:07:47 +0900 |
---|---|---|
committer | Vineeta Srivastava <vsrivastava@google.com> | 2015-07-07 15:32:00 -0700 |
commit | f2d9ad2e90d05a6903ff79fb4c27c64b3e19a491 (patch) | |
tree | a39bd66c24720f8c1b1bdf2facdee5689878fb19 /packages | |
parent | f3a910b88dbb5235552752d0f3492410bca0ef59 (diff) | |
download | frameworks_base-f2d9ad2e90d05a6903ff79fb4c27c64b3e19a491.zip frameworks_base-f2d9ad2e90d05a6903ff79fb4c27c64b3e19a491.tar.gz frameworks_base-f2d9ad2e90d05a6903ff79fb4c27c64b3e19a491.tar.bz2 |
SystemUI/Keyguard: try authenticate finger after authentication failure
When first authentication is failed, keyguard does not try authenticate again.
This modification makes to try again authentication
when it receives callback of authentication failure.
Bug: 22131472
Change-Id: I5bdfc8b120595bf3252ad6e7353ace7ff7fbbae0
Diffstat (limited to 'packages')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java index 022338d..a0174a7 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java @@ -356,9 +356,9 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener { } private void handleFingerprintAuthFailed() { - // FingerprintManager will allow us to retry a few times before finally giving up. - // TODO: Figure out the proper logic to stop this call when max tries is reached. + stopListeningForFingerprint(); handleFingerprintHelp(-1, mContext.getString(R.string.fingerprint_not_recognized)); + updateFingerprintListeningState(); } private void handleFingerprintAuthenticated() { |