From 28a0767751268601c4b8c208e4f8708ee2e88533 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Tue, 10 Jan 2012 18:35:21 -0800 Subject: [PATCH] Fix 5620754: don't show pattern screen after SIM PUK unlock This fixes a bug introduced in testing 34a62348. The code now properly invokes the callbacks before returning. Change-Id: I637a8a792838379f0c8b42ef634da82787fcd961 --- .../android/internal/policy/impl/KeyguardUpdateMonitor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java b/policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java index b4b82aa6fc881..d7041fc23d466 100644 --- a/policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java +++ b/policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java @@ -583,8 +583,7 @@ public class KeyguardUpdateMonitor { * through mHandler, this *must* be called from the UI thread. */ public void reportSimUnlocked() { - mSimState = IccCard.State.READY; - handleSimStateChange(new SimArgs(mSimState)); + handleSimStateChange(new SimArgs(IccCard.State.READY)); } public boolean isKeyguardBypassEnabled() {