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

Commit 8803ce32 authored by Steve Kondik's avatar Steve Kondik
Browse files

Unbreak the APN editor

Change-Id: I4f0b27628539473381fb28b6d60dd5eacd8e1fd4
parent 92973633
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ public class ApnEditor extends SettingsPreferenceFragment

        mTelephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);

        fillUi(icicle.getString(ApnSettings.OPERATOR_NUMERIC_EXTRA));
        fillUi(intent.getStringExtra(ApnSettings.OPERATOR_NUMERIC_EXTRA));
        setHasOptionsMenu(true);
    }

+0 −1
Original line number Diff line number Diff line
@@ -129,7 +129,6 @@ public class ApnSettings extends SettingsPreferenceFragment implements
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        addPreferencesFromResource(R.xml.apn_settings);
        getListView().setItemsCanFocus(true);
        mSubscription = getActivity().getIntent().getIntExtra(SelectSubscription.SUBSCRIPTION_KEY,
                MSimTelephonyManager.getDefault().getDefaultSubscription());
        Log.d(TAG, "onCreate received sub :" + mSubscription);