diff options
author | Wink Saville <wink@google.com> | 2009-05-13 11:51:03 -0700 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2009-05-15 14:08:46 -0700 |
commit | ead6928894c5f63ba8751962d93987b412b4b209 (patch) | |
tree | edbd8f73f549804f82a41758a23b6a15e26f114e /src | |
parent | a05d0dc67eb6aae169308dda25fe235226fa395b (diff) | |
download | packages_apps_settings-ead6928894c5f63ba8751962d93987b412b4b209.zip packages_apps_settings-ead6928894c5f63ba8751962d93987b412b4b209.tar.gz packages_apps_settings-ead6928894c5f63ba8751962d93987b412b4b209.tar.bz2 |
Teleca 2b changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/RadioInfo.java | 5 | ||||
-rw-r--r-- | src/com/android/settings/deviceinfo/Status.java | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/com/android/settings/RadioInfo.java b/src/com/android/settings/RadioInfo.java index 521c3c8..b51a6c5 100644 --- a/src/com/android/settings/RadioInfo.java +++ b/src/com/android/settings/RadioInfo.java @@ -625,6 +625,9 @@ public class RadioInfo extends Activity { private final void updateSignalStrength() { + // TODO TELECA: PhoneStateIntentReceiver deprecated, use TelephonyManager or + // PhoneStateListener instead. + // Use new SignalStrength for signal int state = mPhoneStateReceiver.getServiceState().getState(); Resources r = getResources(); @@ -1173,7 +1176,7 @@ public class RadioInfo extends Activity { mPreferredNetworkHandler = new AdapterView.OnItemSelectedListener() { public void onItemSelected(AdapterView parent, View v, int pos, long id) { Message msg = mHandler.obtainMessage(EVENT_SET_PREFERRED_TYPE_DONE); - if (pos>=0 && pos<=2) { + if (pos>=0 && pos<=7) { //IS THIS NEEDED to extend to the entire range of values phone.setPreferredNetworkType(pos, msg); } } diff --git a/src/com/android/settings/deviceinfo/Status.java b/src/com/android/settings/deviceinfo/Status.java index 839e712..8b7104e 100644 --- a/src/com/android/settings/deviceinfo/Status.java +++ b/src/com/android/settings/deviceinfo/Status.java @@ -303,6 +303,10 @@ public class Status extends PreferenceActivity { } void updateSignalStrength() { + // TODO TELECA: PhoneStateIntentReceiver deprecated, use TelephonyManager or + // PhoneStateListener instead. + // Use new SignalStrength for signal + // not loaded in some versions of the code (e.g., zaku) if (mSignalStrength != null) { int state = |