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
This commit is contained in:
Jim Miller
2015-07-07 13:07:47 +09:00
committed by Vineeta Srivastava
parent f3a910b88d
commit f2d9ad2e90

View File

@@ -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() {