Merge "Change to treat slotId 0 emergency numbers as default." into lmp-mr1-dev
This commit is contained in:
@@ -1823,13 +1823,11 @@ public class PhoneNumberUtils
|
||||
String emergencyNumbers = "";
|
||||
int slotId = SubscriptionManager.getSlotId(subId);
|
||||
|
||||
if (slotId >= 0) {
|
||||
// retrieve the list of emergency numbers
|
||||
// check read-write ecclist property first
|
||||
String ecclist = (slotId == 0) ? "ril.ecclist" : ("ril.ecclist" + slotId);
|
||||
// retrieve the list of emergency numbers
|
||||
// check read-write ecclist property first
|
||||
String ecclist = (slotId <= 0) ? "ril.ecclist" : ("ril.ecclist" + slotId);
|
||||
|
||||
emergencyNumbers = SystemProperties.get(ecclist, "");
|
||||
}
|
||||
emergencyNumbers = SystemProperties.get(ecclist, "");
|
||||
|
||||
Rlog.d(LOG_TAG, "slotId:" + slotId + ", emergencyNumbers: " + emergencyNumbers);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user