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

Commit 83749f34 authored by giseok.seo's avatar giseok.seo Committed by Vineeta Srivastava
Browse files

Use proper ril.ecclist when no sim state



Bug: 17139446
Signed-off-by: default avatargiseok.seo <giseok.seo@lge.com>
Change-Id: I2f420973b29092b8a6cceb8cf4bd77d0ee8372bd
parent a94900e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1825,7 +1825,7 @@ public class PhoneNumberUtils
        int slotId = SubscriptionManager.getSlotId(subId);
        // retrieve the list of emergency numbers
        // check read-write ecclist property first
        String ecclist = (slotId == 0) ? "ril.ecclist" : ("ril.ecclist" + slotId);
        String ecclist = (slotId <= 0) ? "ril.ecclist" : ("ril.ecclist" + slotId);

        numbers = SystemProperties.get(ecclist);