diff options
author | Jey <jey.michael@gmail.com> | 2009-07-16 18:51:59 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-04-16 13:57:42 -0700 |
commit | eccd93c7eb8d31f71023f9d32cf0fb40bb097fa6 (patch) | |
tree | fd3775392940abba11c11ce911163e06982489ee /telephony | |
parent | d4dd85d532dcd383a2f6b421e747b5ab07246d19 (diff) | |
download | frameworks_base-eccd93c7eb8d31f71023f9d32cf0fb40bb097fa6.zip frameworks_base-eccd93c7eb8d31f71023f9d32cf0fb40bb097fa6.tar.gz frameworks_base-eccd93c7eb8d31f71023f9d32cf0fb40bb097fa6.tar.bz2 |
SetLocaleByCarrier, only if its not an unknown carrier.
Change-Id: Ia218b3622a23cc0fc1bb2c1606c832ecc561d5bf
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/PhoneBase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/PhoneBase.java b/telephony/java/com/android/internal/telephony/PhoneBase.java index eb406b7..a2554ba 100644 --- a/telephony/java/com/android/internal/telephony/PhoneBase.java +++ b/telephony/java/com/android/internal/telephony/PhoneBase.java @@ -540,7 +540,7 @@ public abstract class PhoneBase extends Handler implements Phone { private void setPropertiesByCarrier() { String carrier = SystemProperties.get("ro.carrier"); - if (null == carrier || 0 == carrier.length()) { + if (null == carrier || 0 == carrier.length() || "unknown".equals(carrier)) { return; } |