Skip to content

Commit 30c5da9

Browse files
author
Jim Miller
committed
Don't call cancel() when fingerprint auth fails
KeyguardUpdateMonitor should not call cancel() when fingerprint auth fails. The life cycle will continue until an actual error occurs or the maximum number of retries is reached. Fixes bug 22562277 Change-Id: I36291d025de9c049cc7f7924f692c8c21349bb7b
1 parent bbe1682 commit 30c5da9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,7 @@ private void onFingerprintAuthenticated(int userId, boolean wakeAndUnlocking) {
380380

381381
private void handleFingerprintAuthFailed() {
382382
releaseFingerprintWakeLock();
383-
stopListeningForFingerprint();
384383
handleFingerprintHelp(-1, mContext.getString(R.string.fingerprint_not_recognized));
385-
updateFingerprintListeningState();
386384
}
387385

388386
private void handleFingerprintAcquired(int acquireInfo) {

0 commit comments

Comments
 (0)