From 8e9417e87366aecd1c03cca8f8f45c8d2f6cae62 Mon Sep 17 00:00:00 2001 From: Weijie Wang Date: Tue, 26 May 2020 16:21:05 +0800 Subject: [PATCH] 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 --- .../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 10dcbd6f91824..a84664ceee3dd 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; } });