Skip to content

Commit 28a0767

Browse files
author
Jim Miller
committed
Fix 5620754: don't show pattern screen after SIM PUK unlock
This fixes a bug introduced in testing 34a6234. The code now properly invokes the callbacks before returning. Change-Id: I637a8a792838379f0c8b42ef634da82787fcd961
1 parent d1186cd commit 28a0767

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,7 @@ public IccCard.State getSimState() {
583583
* through mHandler, this *must* be called from the UI thread.
584584
*/
585585
public void reportSimUnlocked() {
586-
mSimState = IccCard.State.READY;
587-
handleSimStateChange(new SimArgs(mSimState));
586+
handleSimStateChange(new SimArgs(IccCard.State.READY));
588587
}
589588

590589
public boolean isKeyguardBypassEnabled() {

0 commit comments

Comments
 (0)