Loading src/java/com/android/internal/telephony/SubscriptionInfoUpdater.java +1 −1 Original line number Diff line number Diff line Loading @@ -457,10 +457,10 @@ public class SubscriptionInfoUpdater extends Handler { // At this phase, the subscription list is accessible. Treating NOT_READY // as equivalent to ABSENT, once the rest of the system can handle it. sIccId[phoneId] = ICCID_STRING_FOR_NO_SIM; updateSubscriptionInfoByIccId(phoneId, false /* updateEmbeddedSubs */); } else { sIccId[phoneId] = null; } updateSubscriptionInfoByIccId(phoneId, false /* updateEmbeddedSubs */); broadcastSimStateChanged(phoneId, IccCardConstants.INTENT_VALUE_ICC_NOT_READY, null); Loading tests/telephonytests/src/com/android/internal/telephony/SubscriptionInfoUpdaterTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -246,8 +246,8 @@ public class SubscriptionInfoUpdaterTest extends TelephonyTest { mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE); verify(mConfigManager, never()).updateConfigForPhoneId(eq(FAKE_PHONE_ID_1), eq(IccCardConstants.INTENT_VALUE_ICC_NOT_READY)); verify(mSubscriptionController).clearSubInfoRecord(FAKE_PHONE_ID_1); verify(mSubscriptionController).notifySubscriptionInfoChanged(); verify(mSubscriptionController, never()).clearSubInfoRecord(FAKE_PHONE_ID_1); verify(mSubscriptionController, never()).notifySubscriptionInfoChanged(); } @Test Loading Loading
src/java/com/android/internal/telephony/SubscriptionInfoUpdater.java +1 −1 Original line number Diff line number Diff line Loading @@ -457,10 +457,10 @@ public class SubscriptionInfoUpdater extends Handler { // At this phase, the subscription list is accessible. Treating NOT_READY // as equivalent to ABSENT, once the rest of the system can handle it. sIccId[phoneId] = ICCID_STRING_FOR_NO_SIM; updateSubscriptionInfoByIccId(phoneId, false /* updateEmbeddedSubs */); } else { sIccId[phoneId] = null; } updateSubscriptionInfoByIccId(phoneId, false /* updateEmbeddedSubs */); broadcastSimStateChanged(phoneId, IccCardConstants.INTENT_VALUE_ICC_NOT_READY, null); Loading
tests/telephonytests/src/com/android/internal/telephony/SubscriptionInfoUpdaterTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -246,8 +246,8 @@ public class SubscriptionInfoUpdaterTest extends TelephonyTest { mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE); verify(mConfigManager, never()).updateConfigForPhoneId(eq(FAKE_PHONE_ID_1), eq(IccCardConstants.INTENT_VALUE_ICC_NOT_READY)); verify(mSubscriptionController).clearSubInfoRecord(FAKE_PHONE_ID_1); verify(mSubscriptionController).notifySubscriptionInfoChanged(); verify(mSubscriptionController, never()).clearSubInfoRecord(FAKE_PHONE_ID_1); verify(mSubscriptionController, never()).notifySubscriptionInfoChanged(); } @Test Loading