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

Commit b7f482ab authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android Git Automerger
Browse files

am ee2cfe48: Only call authenticate when we are not listening yet

* commit 'ee2cfe48':
  Only call authenticate when we are not listening yet
parents 7ef77271 ee2cfe48
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1020,7 +1020,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
    private void startListeningForFingerprint() {
        if (DEBUG) Log.v(TAG, "startListeningForFingerprint()");
        int userId = ActivityManager.getCurrentUser();
        if (isUnlockWithFingerprintPossible(userId)) {
        if (!mFingerprintDetectionRunning && isUnlockWithFingerprintPossible(userId)) {
            mUserHasAuthenticatedSinceBoot = mTrustManager.hasUserAuthenticatedSinceBoot(
                    ActivityManager.getCurrentUser());
            if (mFingerprintCancelSignal != null) {