From 240dd7347b964dee7f7a665b79a3037ba1d5969b Mon Sep 17 00:00:00 2001 From: Weijie Wang Date: Tue, 26 May 2020 16:21:05 +0800 Subject: 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) --- packages/SystemUI/src/com/android/keyguard/KeyguardSimPukView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }); -- cgit v1.2.3-59-g8ed1b