Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0de311b4 authored by Jake Hamby's avatar Jake Hamby Committed by Android Git Automerger
Browse files

am c46455ac: Merge "Enable "APN roaming protocol" for all platforms"

* commit 'c46455ac':
  Enable "APN roaming protocol" for all platforms
parents 71742eb1 c46455ac
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -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);
        }

        mCarrierEnabled = (CheckBoxPreference) findPreference(KEY_CARRIER_ENABLED);