Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6262fa53 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android Git Automerger
Browse files

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

* commit 'ed6bc82d':
  Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"
parents 8aecd2c9 ed6bc82d
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -1038,17 +1038,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