Treat SIM state LOADED same as READY for PUK progress.
Test: manual
Bug: 114194902
Change-Id: Ib038b4ab201f38b724b3135943c38abd785878e7
diff --git a/src/com/android/phone/PhoneGlobals.java b/src/com/android/phone/PhoneGlobals.java
index 94cd0f6..fed41b0 100644
--- a/src/com/android/phone/PhoneGlobals.java
+++ b/src/com/android/phone/PhoneGlobals.java
@@ -226,7 +226,8 @@
// Marks the event where the SIM goes into ready state.
// Right now, this is only used for the PUK-unlocking
// process.
- if (msg.obj.equals(IccCardConstants.INTENT_VALUE_ICC_READY)) {
+ if (msg.obj.equals(IccCardConstants.INTENT_VALUE_ICC_READY)
+ || msg.obj.equals(IccCardConstants.INTENT_VALUE_ICC_LOADED)) {
// when the right event is triggered and there
// are UI objects in the foreground, we close
// them to display the lock panel.