Loading src/java/com/android/internal/telephony/uicc/UiccProfile.java +19 −15 Original line number Diff line number Diff line Loading @@ -232,7 +232,13 @@ public class UiccProfile extends Handler implements IccCard { case EVENT_APP_READY: if (VDBG) log("EVENT_APP_READY"); setExternalStateOnReady(); if (areAllApplicationsReady()) { if (areAllRecordsLoaded() && areCarrierPriviligeRulesLoaded()) { setExternalState(IccCardConstants.State.LOADED); } else { setExternalState(IccCardConstants.State.READY); } } break; case EVENT_RECORDS_LOADED: Loading Loading @@ -282,7 +288,9 @@ public class UiccProfile extends Handler implements IccCard { case EVENT_CARRIER_PRIVILEGES_LOADED: if (VDBG) log("EVENT_CARRIER_PRIVILEGES_LOADED"); onCarrierPriviligesLoadedMessage(); if (areAllRecordsLoaded()) { setExternalState(IccCardConstants.State.LOADED); } break; case EVENT_OPEN_LOGICAL_CHANNEL_DONE: Loading Loading @@ -379,12 +387,6 @@ public class UiccProfile extends Handler implements IccCard { // Otherwise don't change external SIM state. break; case APPSTATE_READY: setExternalStateOnReady(); break; } } private void setExternalStateOnReady() { if (areAllApplicationsReady()) { if (areAllRecordsLoaded() && areCarrierPriviligeRulesLoaded()) { setExternalState(IccCardConstants.State.LOADED); Loading @@ -394,6 +396,8 @@ public class UiccProfile extends Handler implements IccCard { } else { setExternalState(IccCardConstants.State.NOT_READY); } break; } } private void registerAllAppEvents() { Loading Loading
src/java/com/android/internal/telephony/uicc/UiccProfile.java +19 −15 Original line number Diff line number Diff line Loading @@ -232,7 +232,13 @@ public class UiccProfile extends Handler implements IccCard { case EVENT_APP_READY: if (VDBG) log("EVENT_APP_READY"); setExternalStateOnReady(); if (areAllApplicationsReady()) { if (areAllRecordsLoaded() && areCarrierPriviligeRulesLoaded()) { setExternalState(IccCardConstants.State.LOADED); } else { setExternalState(IccCardConstants.State.READY); } } break; case EVENT_RECORDS_LOADED: Loading Loading @@ -282,7 +288,9 @@ public class UiccProfile extends Handler implements IccCard { case EVENT_CARRIER_PRIVILEGES_LOADED: if (VDBG) log("EVENT_CARRIER_PRIVILEGES_LOADED"); onCarrierPriviligesLoadedMessage(); if (areAllRecordsLoaded()) { setExternalState(IccCardConstants.State.LOADED); } break; case EVENT_OPEN_LOGICAL_CHANNEL_DONE: Loading Loading @@ -379,12 +387,6 @@ public class UiccProfile extends Handler implements IccCard { // Otherwise don't change external SIM state. break; case APPSTATE_READY: setExternalStateOnReady(); break; } } private void setExternalStateOnReady() { if (areAllApplicationsReady()) { if (areAllRecordsLoaded() && areCarrierPriviligeRulesLoaded()) { setExternalState(IccCardConstants.State.LOADED); Loading @@ -394,6 +396,8 @@ public class UiccProfile extends Handler implements IccCard { } else { setExternalState(IccCardConstants.State.NOT_READY); } break; } } private void registerAllAppEvents() { Loading