Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edebaf37 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use getFullIccId() in SubscriptionInfoUpdater." into nyc-dev

parents 60e096ba 86228622
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();
+1 −1
Original line number Diff line number Diff line
@@ -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,