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

Commit c08fcf4b authored by Jack Yu's avatar Jack Yu
Browse files

Fixed NPE when EF_EHPLMN does not exist

Fix: 170645083
Test: Manual
Change-Id: I384215122a076d52a616512c4b0aede03f5382e1
parent 8fc5a863
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4478,7 +4478,7 @@ public class GsmCdmaPhone extends Phone {
    public @NonNull List<String> getEquivalentHomePlmns() {
        if (isPhoneTypeGsm()) {
            IccRecords r = mIccRecords.get();
            if (r != null) {
            if (r != null && r.getEhplmns() != null) {
                return Arrays.asList(r.getEhplmns());
            }
        } else if (isPhoneTypeCdma()) {