From 68b9a26543e5d3f32013bbb5bd6ccb41ccad275a Mon Sep 17 00:00:00 2001 From: Tore Anderson Date: Wed, 8 Aug 2012 23:10:35 +0200 Subject: [PATCH] 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 --- src/com/android/settings/ApnEditor.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/com/android/settings/ApnEditor.java b/src/com/android/settings/ApnEditor.java index bca521b20b5..79b6d1579d9 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);