Merge "Revert "IME action (done, next...) correctly handled"" into ics-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
b2aa672f24
@@ -3785,7 +3785,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is the handling for some default action.
|
// This is the handling for some default action.
|
||||||
// Note that for backwards compatibility we don't do this
|
// Note that for backwards compatibility we don't do this
|
||||||
// default handling if explicit ime options have not been given,
|
// default handling if explicit ime options have not been given,
|
||||||
@@ -5594,8 +5594,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
outAttrs.extras = mInputContentType.extras;
|
outAttrs.extras = mInputContentType.extras;
|
||||||
} else {
|
} else {
|
||||||
outAttrs.imeOptions = EditorInfo.IME_NULL;
|
outAttrs.imeOptions = EditorInfo.IME_NULL;
|
||||||
// May not be defined otherwise and needed by onEditorAction
|
|
||||||
mInputContentType = new InputContentType();
|
|
||||||
}
|
}
|
||||||
if (focusSearch(FOCUS_DOWN) != null) {
|
if (focusSearch(FOCUS_DOWN) != null) {
|
||||||
outAttrs.imeOptions |= EditorInfo.IME_FLAG_NAVIGATE_NEXT;
|
outAttrs.imeOptions |= EditorInfo.IME_FLAG_NAVIGATE_NEXT;
|
||||||
|
|||||||
Reference in New Issue
Block a user