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

Commit 2d38abb4 authored by xiaocheng.x.wang's avatar xiaocheng.x.wang Committed by android-build-merger
Browse files

Merge "Fix apn can't be updated when pressing back key"

am: 5c6e7a21

Change-Id: I5f7cf29476e88c3603c902c5e501bef08fad5c8c
parents 5a05a8a4 5c6e7a21
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -771,6 +771,8 @@ public class ApnEditor extends SettingsPreferenceFragment
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        view.setOnKeyListener(this);
        view.setFocusableInTouchMode(true);
        view.requestFocus();
    }

    public boolean onKey(View v, int keyCode, KeyEvent event) {