Skip to content

Commit b2aa672

Browse files
Gilles DebunneAndroid (Google) Code Review
authored andcommitted
Merge "Revert "IME action (done, next...) correctly handled"" into ics-mr1
2 parents 2c2ed7b + 8bfcd13 commit b2aa672

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/java/android/widget/TextView.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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,8 +5594,6 @@ 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();
55995597
}
56005598
if (focusSearch(FOCUS_DOWN) != null) {
56015599
outAttrs.imeOptions |= EditorInfo.IME_FLAG_NAVIGATE_NEXT;

0 commit comments

Comments
 (0)