Merge "Fix NPE when pressing ALT key" into lmp-dev
commit
f145fff085
|
@ -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 New Issue