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

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

Fix NPE when pressing ALT key

Bug: 17203708
Change-Id: I4f203603496e9401dacba4db21372e3353916418
parent 5e7a6fe0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -261,6 +261,9 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
    }

    public void onToggleEmojiKeyboard() {
        if (mKeyboardLayoutSet == null) {
            return;
        }
        if (isShowingEmojiPalettes()) {
            setAlphabetKeyboard();
        } else {