Fix 2593312: Screen does not get stuck in locked out mode.

Change-Id: Ib32db339a0d6b47119da94e56a14405c5ea63eb6
This commit is contained in:
Konstantin Lopyrev
2010-05-13 16:33:13 -07:00
parent 28efa02104
commit 9aaf40d697

View File

@@ -144,6 +144,11 @@ public class ConfirmLockPattern extends Activity {
long deadline = mLockPatternUtils.getLockoutAttemptDeadline();
if (deadline != 0) {
handleAttemptLockout(deadline);
} else if (!mLockPatternView.isEnabled()) {
// The deadline has passed, but the timer was cancelled...
// Need to clean up.
mNumWrongConfirmAttempts = 0;
updateStage(Stage.NeedToUnlock);
}
}