summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2012-02-24 15:00:21 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-02-24 15:00:21 -0800
commitaaef0f6b2b987c27628c03ef90da32bd62ec8d5e (patch)
tree962d638eb76a39e92a840f06e97dabe01a65840a /src
parent49cd8d54815a3b820d135dc310df1d60de1e6a8c (diff)
parente37f427cbb9b382fbdf64420d2592be19e627544 (diff)
downloadpackages_apps_settings-aaef0f6b2b987c27628c03ef90da32bd62ec8d5e.zip
packages_apps_settings-aaef0f6b2b987c27628c03ef90da32bd62ec8d5e.tar.gz
packages_apps_settings-aaef0f6b2b987c27628c03ef90da32bd62ec8d5e.tar.bz2
Merge "Use the framework rather than RIL constants"
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/deviceinfo/Status.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/deviceinfo/Status.java b/src/com/android/settings/deviceinfo/Status.java
index c315acd..1d1dfaa 100644
--- a/src/com/android/settings/deviceinfo/Status.java
+++ b/src/com/android/settings/deviceinfo/Status.java
@@ -331,7 +331,8 @@ public class Status extends PreferenceActivity {
private void updateNetworkType() {
// Whether EDGE, UMTS, etc...
- setSummary(KEY_NETWORK_TYPE, TelephonyProperties.PROPERTY_DATA_NETWORK_TYPE, sUnknown);
+ setSummaryText(KEY_NETWORK_TYPE, mTelephonyManager.getNetworkTypeName() +
+ ":" + mTelephonyManager.getNetworkType());
}
private void updateDataState() {