From d874ac581e7f9bb6b93918390aa56fb02d1b66e8 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 14 Oct 2011 12:15:24 +0900 Subject: [PATCH] Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced" This reverts commit b1bc5fd896329a39ad51a8c79e2970750c814ea0. (If3a73179) Bug: 5410786 --- .../src/com/android/inputmethod/latin/LatinIME.java | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index ec8dcc9b9..4292025a3 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1039,17 +1039,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar @Override public boolean onEvaluateFullscreenMode() { - if (!super.onEvaluateFullscreenMode()) return false; - - final EditorInfo ei = getCurrentInputEditorInfo(); - if (ei != null) { - final int imeOptions = ei.imeOptions; - if ((imeOptions & EditorInfo.IME_FLAG_NO_EXTRACT_UI) != 0) { - return false; - } - } - - return mResources.getBoolean(R.bool.config_use_fullscreen_mode); + return super.onEvaluateFullscreenMode() + && mResources.getBoolean(R.bool.config_use_fullscreen_mode); } @Override