We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c2ed7b + 8bfcd13 commit b2aa672Copy full SHA for b2aa672
1 file changed
core/java/android/widget/TextView.java
@@ -3785,7 +3785,7 @@ public void onEditorAction(int actionCode) {
3785
return;
3786
}
3787
3788
-
+
3789
// This is the handling for some default action.
3790
// Note that for backwards compatibility we don't do this
3791
// default handling if explicit ime options have not been given,
@@ -5594,8 +5594,6 @@ public boolean onKeyUp(int keyCode, KeyEvent event) {
5594
outAttrs.extras = mInputContentType.extras;
5595
} else {
5596
outAttrs.imeOptions = EditorInfo.IME_NULL;
5597
- // May not be defined otherwise and needed by onEditorAction
5598
- mInputContentType = new InputContentType();
5599
5600
if (focusSearch(FOCUS_DOWN) != null) {
5601
outAttrs.imeOptions |= EditorInfo.IME_FLAG_NAVIGATE_NEXT;
0 commit comments