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

Commit 549e295d authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix updateFullscreenMode of LatinIME

Bug: 5597608
Change-Id: If4b18dc933493bd74bc5506c028af86b0450df1f
parent 2549ce27
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1062,9 +1062,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
        super.updateFullscreenMode();

        if (mKeyPreviewBackingView == null) return;
        // In extract mode, no need to have extra space to show the key preview.
        // In fullscreen mode, no need to have extra space to show the key preview.
        // If not, we should have extra space above the keyboard to show the key preview.
        mKeyPreviewBackingView.setVisibility(isExtractViewShown() ? View.GONE : View.VISIBLE);
        mKeyPreviewBackingView.setVisibility(isFullscreenMode() ? View.GONE : View.VISIBLE);
    }

    @Override