* commit '7defe926ca0eed2a18665cd0e4bf2ec305a03879': Fix NPE when pressing ALT key
This commit is contained in:
commit
ca9e970c7c
1 changed files with 3 additions and 0 deletions
|
@ -261,6 +261,9 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
|
|||
}
|
||||
|
||||
public void onToggleEmojiKeyboard() {
|
||||
if (mKeyboardLayoutSet == null) {
|
||||
return;
|
||||
}
|
||||
if (isShowingEmojiPalettes()) {
|
||||
setAlphabetKeyboard();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue