Make EditorInfo.internalImeOptions parcelable.

Followup to I5a5e73e1dec776665f28a7e2eb091b555198001b.
internalImeOptions field should be parcelable.

Fix: 157870379
Test: Manually using steps in bug
Change-Id: I12b442b8b2d8cf83aa4cc789133b42251ad2c191
This commit is contained in:
Taran Singh
2021-01-29 16:29:04 +00:00
parent 2d1e90b508
commit 2b4bd4c6fb
3 changed files with 6 additions and 5 deletions

View File

@@ -1732,7 +1732,7 @@ public class InputMethodService extends AbstractInputMethodService {
// If app window has portrait orientation, regardless of what display orientation
// is, IME shouldn't use fullscreen-mode.
|| (mInputEditorInfo.internalImeOptions
& EditorInfo.IME_FLAG_APP_WINDOW_PORTRAIT) != 0) {
& EditorInfo.IME_INTERNAL_FLAG_APP_WINDOW_PORTRAIT) != 0) {
return false;
}
return true;