Merge "Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"" into ics-mr0

main
Tadashi G. Takaoka 2011-10-13 22:07:17 -07:00 committed by Android (Google) Code Review
commit ed6bc82d97
1 changed files with 2 additions and 11 deletions

View File

@ -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