diff options
author | Jim Miller <jaggies@google.com> | 2012-01-10 18:35:21 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2012-01-10 18:35:21 -0800 |
commit | 28a0767751268601c4b8c208e4f8708ee2e88533 (patch) | |
tree | 995e128a956bc5d8c97c8dbba353780c0efb8999 /policy/src/com/android | |
parent | d1186cd5bb445e9b0768edf6cb87022865cada55 (diff) | |
download | frameworks_base-28a0767751268601c4b8c208e4f8708ee2e88533.zip frameworks_base-28a0767751268601c4b8c208e4f8708ee2e88533.tar.gz frameworks_base-28a0767751268601c4b8c208e4f8708ee2e88533.tar.bz2 |
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
Diffstat (limited to 'policy/src/com/android')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java | 3 |
1 files changed, 1 insertions, 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 b4b82aa..d7041fc 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() { |