Use the framework rather than RIL constants
bug:5717664 Change-Id: I07f8fe3a874aff775e4be8513cd020bf9d090b6a
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user