diff options
author | Tore Anderson <tore@fud.no> | 2012-08-08 23:10:35 +0200 |
---|---|---|
committer | Tore Anderson <tore@fud.no> | 2012-08-08 23:10:35 +0200 |
commit | 68b9a26543e5d3f32013bbb5bd6ccb41ccad275a (patch) | |
tree | 5af39eb7688c80656c2ca64088f6c5c5780b522f /src/com/android/settings/ApnEditor.java | |
parent | 5d72b2726797374e402943182d8132045ed32d3a (diff) | |
download | packages_apps_Settings-68b9a26543e5d3f32013bbb5bd6ccb41ccad275a.zip packages_apps_Settings-68b9a26543e5d3f32013bbb5bd6ccb41ccad275a.tar.gz packages_apps_Settings-68b9a26543e5d3f32013bbb5bd6ccb41ccad275a.tar.bz2 |
Enable "APN roaming protocol" for all platforms
Allows users to change the protocol (the PDP context type) used when
roaming in the same way they already can for when they are in their home
network. This is required in order to make IPv6 and IPv4v6 data roaming
work correctly in 3GPP networks.
See also: http://code.google.com/p/android/issues/detail?id=32631
Change-Id: I052842122e5fe96a8779077f0ae9ff4bc83066c5
Signed-off-by: Tore Anderson <tore@fud.no>
Diffstat (limited to 'src/com/android/settings/ApnEditor.java')
-rw-r--r-- | src/com/android/settings/ApnEditor.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/com/android/settings/ApnEditor.java b/src/com/android/settings/ApnEditor.java index bca521b..79b6d15 100644 --- a/src/com/android/settings/ApnEditor.java +++ b/src/com/android/settings/ApnEditor.java @@ -167,15 +167,7 @@ public class ApnEditor extends PreferenceActivity mProtocol.setOnPreferenceChangeListener(this); mRoamingProtocol = (ListPreference) findPreference(KEY_ROAMING_PROTOCOL); - // Only enable this on CDMA phones for now, since it may cause problems on other phone - // types. (This screen is not normally accessible on CDMA phones, but is useful for - // testing.) - TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); - if (tm.getCurrentPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { - mRoamingProtocol.setOnPreferenceChangeListener(this); - } else { - getPreferenceScreen().removePreference(mRoamingProtocol); - } + mRoamingProtocol.setOnPreferenceChangeListener(this); mCarrierEnabled = (CheckBoxPreference) findPreference(KEY_CARRIER_ENABLED); |