Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2d9ad2e authored by Jim Miller's avatar Jim Miller Committed by Vineeta Srivastava
Browse files

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
parent f3a910b8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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() {