Fix 2593312: Screen does not get stuck in locked out mode.
Change-Id: Ib32db339a0d6b47119da94e56a14405c5ea63eb6
This commit is contained in:
@@ -144,6 +144,11 @@ public class ConfirmLockPattern extends Activity {
|
|||||||
long deadline = mLockPatternUtils.getLockoutAttemptDeadline();
|
long deadline = mLockPatternUtils.getLockoutAttemptDeadline();
|
||||||
if (deadline != 0) {
|
if (deadline != 0) {
|
||||||
handleAttemptLockout(deadline);
|
handleAttemptLockout(deadline);
|
||||||
|
} else if (!mLockPatternView.isEnabled()) {
|
||||||
|
// The deadline has passed, but the timer was cancelled...
|
||||||
|
// Need to clean up.
|
||||||
|
mNumWrongConfirmAttempts = 0;
|
||||||
|
updateStage(Stage.NeedToUnlock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user