Use the framework rather than RIL constants

bug:5717664
Change-Id: I07f8fe3a874aff775e4be8513cd020bf9d090b6a
This commit is contained in:
Robert Greenwalt
2012-02-17 15:25:14 -08:00
parent e44f44d679
commit e37f427cbb

View File

@@ -331,7 +331,8 @@ public class Status extends PreferenceActivity {
private void updateNetworkType() { private void updateNetworkType() {
// Whether EDGE, UMTS, etc... // 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() { private void updateDataState() {