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