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

Commit c46455ac authored by Jake Hamby's avatar Jake Hamby Committed by android code review
Browse files

Merge "Enable "APN roaming protocol" for all platforms"

parents 0c869d69 68b9a265
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);