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

Commit 02d0fde7 authored by Vineeta Srivastava's avatar Vineeta Srivastava Committed by Android (Google) Code Review
Browse files

Merge "telephony: PreferredAPN is not set correctly while device is booting" into mnc-dr-dev

parents 6f3dba01 aa863054
Loading
Loading
Loading
Loading
+6 −4
Original line number Original line Diff line number Diff line
@@ -2760,10 +2760,12 @@ public final class DcTracker extends DcTrackerBase {
                mIccRecords.set(null);
                mIccRecords.set(null);
            }
            }
            if (newIccRecords != null) {
            if (newIccRecords != null) {
                log("New records found");
                if (mPhone.getSubId() >= 0) {
                    log("New records found.");
                    mIccRecords.set(newIccRecords);
                    mIccRecords.set(newIccRecords);
                    newIccRecords.registerForRecordsLoaded(
                    newIccRecords.registerForRecordsLoaded(
                            this, DctConstants.EVENT_RECORDS_LOADED, null);
                            this, DctConstants.EVENT_RECORDS_LOADED, null);
                }
            } else {
            } else {
                onSimNotReady();
                onSimNotReady();
            }
            }