summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/deviceinfo/Status.java
diff options
context:
space:
mode:
authorsy310.choi <sy310.choi@samsung.com>2011-05-24 14:19:16 +0900
committerSimon Wilson <simonwilson@google.com>2011-05-26 10:45:07 -0700
commit95364e4af3cb09bff58baab6fa4a6a2218e7fc94 (patch)
tree0a5ff084a76a4c58c4c9c858d4bf90cab2b05838 /src/com/android/settings/deviceinfo/Status.java
parent7c284c2c62ce565dacfae641108a2a5033e78721 (diff)
downloadpackages_apps_Settings-95364e4af3cb09bff58baab6fa4a6a2218e7fc94.tar.gz
packages_apps_Settings-95364e4af3cb09bff58baab6fa4a6a2218e7fc94.tar.bz2
packages_apps_Settings-95364e4af3cb09bff58baab6fa4a6a2218e7fc94.zip
Allow alternate string to be used for min_number
"MSID" can be shown instead of "MIN" if config_msid_enable is set to true. Change-Id: I6d072a5db9a5b46b17a57257221e109ba9a86698
Diffstat (limited to 'src/com/android/settings/deviceinfo/Status.java')
-rw-r--r--src/com/android/settings/deviceinfo/Status.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/settings/deviceinfo/Status.java b/src/com/android/settings/deviceinfo/Status.java
index 56ce4ba6c..a2de6f1f1 100644
--- a/src/com/android/settings/deviceinfo/Status.java
+++ b/src/com/android/settings/deviceinfo/Status.java
@@ -191,6 +191,9 @@ public class Status extends PreferenceActivity {
if (mPhone.getPhoneName().equals("CDMA")) {
setSummaryText("meid_number", mPhone.getMeid());
setSummaryText("min_number", mPhone.getCdmaMin());
+ if (getResources().getBoolean(R.bool.config_msid_enable)) {
+ findPreference("min_number").setTitle(R.string.status_msid_number);
+ }
setSummaryText("prl_version", mPhone.getCdmaPrlVersion());
// device is not GSM/UMTS, do not display GSM/UMTS features