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

Commit fa40a10c authored by fionaxu's avatar fionaxu
Browse files

simRecordLoaded registrants not notified for CDMA

Bug: 31859450
Test: existing unit test still pass
- mPhone.registerSimRecordLoaded not get notified if phone type is
  lteCdma

Change-Id: Id0420978fd8596f4a3db481480cf49e628cd9423
parent 519b4406
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2639,6 +2639,10 @@ public class GsmCdmaPhone extends Phone {
            r.registerForRecordsLoaded(this, EVENT_SIM_RECORDS_LOADED, null);
        } else {
            r.registerForRecordsLoaded(this, EVENT_RUIM_RECORDS_LOADED, null);
            if (isPhoneTypeCdmaLte()) {
                // notify simRecordsLoaded registrants for cdmaLte phone
                r.registerForRecordsLoaded(this, EVENT_SIM_RECORDS_LOADED, null);
            }
        }
    }