diff options
author | giseok.seo <giseok.seo@lge.com> | 2014-08-22 10:30:35 +0900 |
---|---|---|
committer | Vineeta Srivastava <vsrivastava@google.com> | 2014-08-22 20:27:20 +0000 |
commit | 83749f347938d3955c887588756aa7b4fcb32c78 (patch) | |
tree | 8986aefd8a415372d70319bd2878faaca5f99a56 /telephony | |
parent | a94900e587dca6e342bf29ed1acb720c594066c0 (diff) | |
download | frameworks_base-83749f347938d3955c887588756aa7b4fcb32c78.zip frameworks_base-83749f347938d3955c887588756aa7b4fcb32c78.tar.gz frameworks_base-83749f347938d3955c887588756aa7b4fcb32c78.tar.bz2 |
Use proper ril.ecclist when no sim state
Bug: 17139446
Signed-off-by: giseok.seo <giseok.seo@lge.com>
Change-Id: I2f420973b29092b8a6cceb8cf4bd77d0ee8372bd
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/PhoneNumberUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/PhoneNumberUtils.java b/telephony/java/android/telephony/PhoneNumberUtils.java index b935d2a..acb97a0 100644 --- a/telephony/java/android/telephony/PhoneNumberUtils.java +++ b/telephony/java/android/telephony/PhoneNumberUtils.java @@ -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); |