From f2d9ad2e90d05a6903ff79fb4c27c64b3e19a491 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Tue, 7 Jul 2015 13:07:47 +0900 Subject: 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 --- packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/Keyguard/src') 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() { -- cgit v1.1