Merge "Fix apn can't be updated when pressing back key"
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user