summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Weijie Wang <quic_weijiew@quicinc.com> 2020-05-26 16:21:05 +0800
committer Fabian Kozynski <kozynski@google.com> 2020-08-12 13:16:10 +0000
commit240dd7347b964dee7f7a665b79a3037ba1d5969b (patch)
tree85645bbcf010134d263617f60f194ca98dd3cfb0
parentd56bfed60c383f3d0732ecd06af07dd2e6e75a24 (diff)
SystemUI: Reset PUK StateMachine after PUK is unlocked
The PUK state is DONE in StateMachine after PUK is unlocked. If two sim cards are both locked by PUK, the PUK state should be ENTER_PUK after SIM1 PUK is unlocked. Bug: 155135725 Test: manual Change-Id: I0261d8be913a878e65c5240d4d39b248c2e3a5d5 Merged-In: I0261d8be913a878e65c5240d4d39b248c2e3a5d5 (cherry picked from commit 8e9417e87366aecd1c03cca8f8f45c8d2f6cae62)
-rw-r--r--packages/SystemUI/src/com/android/keyguard/KeyguardSimPukView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardSimPukView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardSimPukView.java
index 10dcbd6f9182..a84664ceee3d 100644
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardSimPukView.java
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardSimPukView.java
@@ -448,8 +448,8 @@ public class KeyguardSimPukView extends KeyguardPinBasedInputView {
if (DEBUG) Log.d(LOG_TAG, "verifyPasswordAndUnlock "
+ " UpdateSim.onSimCheckResponse: "
+ " attemptsRemaining=" + result.getAttemptsRemaining());
- mStateMachine.reset();
}
+ mStateMachine.reset();
mCheckSimPukThread = null;
}
});