Fixes loop in Fingerprint Enrollment
Remove "Try again" in error dialog, since credential has timed out and user needs to use pin/password/pattern before being able to enroll fingerprint Bug: 258307019 Test: Try to enroll fingerprint after 10 minutes of entering credential, timeout dialog is shown with only one button to avoid looping Change-Id: Ibb9a9e2095a1277fa01adc8eb5ce04af1b9ce495
This commit is contained in:
@@ -415,7 +415,7 @@ public class FingerprintEnrollEnrolling extends BiometricsEnrollEnrolling {
|
||||
// showErrorDialog() will cause onWindowFocusChanged(false), set mIsCanceled to false
|
||||
// before showErrorDialog() to prevent that another error dialog is triggered again.
|
||||
mIsCanceled = true;
|
||||
FingerprintErrorDialog.showErrorDialog(this, errorMsgId);
|
||||
FingerprintErrorDialog.showErrorDialog(this, errorMsgId, mCanAssumeUdfps);
|
||||
mIsOrientationChanged = false;
|
||||
cancelEnrollment();
|
||||
stopIconAnimation();
|
||||
|
Reference in New Issue
Block a user