Loading src/java/com/android/internal/telephony/SubscriptionInfoUpdater.java +2 −2 Original line number Diff line number Diff line Loading @@ -364,11 +364,11 @@ public class SubscriptionInfoUpdater extends Handler { logd("onRecieve: IccRecords null"); return; } if (records.getIccId() == null) { if (records.getFullIccId() == null) { logd("onRecieve: IccID null"); return; } mIccId[slotId] = records.getIccId(); mIccId[slotId] = records.getFullIccId(); if (isAllIccIdQueryDone()) { updateSubscriptionInfoByIccId(); Loading tests/telephonytests/src/com/android/internal/telephony/SubscriptionInfoUpdaterTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ public class SubscriptionInfoUpdaterTest extends TelephonyTest { /* mock new sim got loaded and there is no sim loaded before */ doReturn(null).when(mSubscriptionController) .getSubInfoUsingSlotIdWithCheck(eq(0), anyBoolean(), anyString()); doReturn("89012604200000000000").when(mIccRecord).getIccId(); doReturn("89012604200000000000").when(mIccRecord).getFullIccId(); doReturn(FAKE_PLMN).when(mTelephonyManager).getSimOperatorNumericForPhone(0); Intent mIntent = new Intent(IccCardProxy.ACTION_INTERNAL_SIM_STATE_CHANGED); mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, Loading Loading
src/java/com/android/internal/telephony/SubscriptionInfoUpdater.java +2 −2 Original line number Diff line number Diff line Loading @@ -364,11 +364,11 @@ public class SubscriptionInfoUpdater extends Handler { logd("onRecieve: IccRecords null"); return; } if (records.getIccId() == null) { if (records.getFullIccId() == null) { logd("onRecieve: IccID null"); return; } mIccId[slotId] = records.getIccId(); mIccId[slotId] = records.getFullIccId(); if (isAllIccIdQueryDone()) { updateSubscriptionInfoByIccId(); Loading
tests/telephonytests/src/com/android/internal/telephony/SubscriptionInfoUpdaterTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ public class SubscriptionInfoUpdaterTest extends TelephonyTest { /* mock new sim got loaded and there is no sim loaded before */ doReturn(null).when(mSubscriptionController) .getSubInfoUsingSlotIdWithCheck(eq(0), anyBoolean(), anyString()); doReturn("89012604200000000000").when(mIccRecord).getIccId(); doReturn("89012604200000000000").when(mIccRecord).getFullIccId(); doReturn(FAKE_PLMN).when(mTelephonyManager).getSimOperatorNumericForPhone(0); Intent mIntent = new Intent(IccCardProxy.ACTION_INTERNAL_SIM_STATE_CHANGED); mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, Loading