* commit '36301d555fb48b460ec64f2e771fb5301daa5510': Fix possible NPE in KeyboardSwitcher
This commit is contained in:
commit
523d60902e
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
|
|||
}
|
||||
|
||||
public boolean isShowingEmojiKeyboard() {
|
||||
return mEmojiKeyboardView.getVisibility() == View.VISIBLE;
|
||||
return mEmojiKeyboardView != null && mEmojiKeyboardView.getVisibility() == View.VISIBLE;
|
||||
}
|
||||
|
||||
public boolean isShowingMoreKeysPanel() {
|
||||
|
|
Loading…
Reference in a new issue