diff options
-rwxr-xr-x | res/values/config.xml | 4 | ||||
-rwxr-xr-x | res/values/strings.xml | 2 | ||||
-rw-r--r-- | src/com/android/settings/deviceinfo/Status.java | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml index 04d27a08e..5d4d57f6f 100755 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -17,4 +17,8 @@ <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="additional_system_update" translatable="false"></string> <string name="additional_system_update_menu" translatable="false"></string> + + <!-- If false, MIN is displayed. If true, MSID is displayed. --> + <bool name="config_msid_enable" translatable="false">false</bool> + </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index ed6787f5a..571e02a95 100755 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1255,6 +1255,8 @@ <string name="status_number">My phone number</string> <!-- About phone, status item title. The phone MIN number of the current device.--> <string name="status_min_number">MIN</string> + <!-- About phone, status item title. The phone MSID number of the current device.--> + <string name="status_msid_number">MSID</string> <!-- About phone, status item title. The phone PRL Version of the current device.--> <string name="status_prl_version">PRL Version</string> <!-- About phone, status item title. The phone MEID number of the current device.--> 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 |