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

Commit fe4f2c9e authored by John Wang's avatar John Wang Committed by Android (Google) Code Review
Browse files

Merge "Add r-w property of emergency number list."

parents 4736ff35 0bd36175
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -1311,7 +1311,12 @@ public class PhoneNumberUtils
        number = extractNetworkPortionAlt(number);

        // retrieve the list of emergency numbers
        String numbers = SystemProperties.get("ro.ril.ecclist");
        // check read-write ecclist property first
        String numbers = SystemProperties.get("ril.ecclist");
        if (TextUtils.isEmpty(numbers)) {
            // then read-only ecclist property since old RIL only uses this
            numbers = SystemProperties.get("ro.ril.ecclist");
        }

        if (!TextUtils.isEmpty(numbers)) {
            // searches through the comma-separated list for a match,