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

Commit 0de529b4 authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Fix NPE

Follow up to I2b0ec091a11aa8a495794d633efecb6d8b818f42

bug: 14488351
Change-Id: Ic88adbd6775910f35338d798dc0d5493715708e4
parent 920188c2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -147,8 +147,10 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {

    public void onHideWindow() {
        mIsAutoCorrectionActive = false;
        if (mKeyboardView != null) {
            mKeyboardView.onHideWindow();
        }
    }

    private void setKeyboard(final Keyboard keyboard) {
        // Make {@link MainKeyboardView} visible and hide {@link EmojiPalettesView}.