File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3785,7 +3785,7 @@ public void onEditorAction(int actionCode) {
37853785 return ;
37863786 }
37873787 }
3788-
3788+
37893789 // This is the handling for some default action.
37903790 // Note that for backwards compatibility we don't do this
37913791 // default handling if explicit ime options have not been given,
@@ -5594,6 +5594,8 @@ public boolean onKeyUp(int keyCode, KeyEvent event) {
55945594 outAttrs .extras = mInputContentType .extras ;
55955595 } else {
55965596 outAttrs .imeOptions = EditorInfo .IME_NULL ;
5597+ // May not be defined otherwise and needed by onEditorAction
5598+ mInputContentType = new InputContentType ();
55975599 }
55985600 if (focusSearch (FOCUS_DOWN ) != null ) {
55995601 outAttrs .imeOptions |= EditorInfo .IME_FLAG_NAVIGATE_NEXT ;
You can’t perform that action at this time.
0 commit comments