am 36301d55: am 4dc2b913: Merge "Fix possible NPE in KeyboardSwitcher"
* commit '36301d555fb48b460ec64f2e771fb5301daa5510': Fix possible NPE in KeyboardSwitchermain
commit
523d60902e
|
@ -315,7 +315,7 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isShowingEmojiKeyboard() {
|
public boolean isShowingEmojiKeyboard() {
|
||||||
return mEmojiKeyboardView.getVisibility() == View.VISIBLE;
|
return mEmojiKeyboardView != null && mEmojiKeyboardView.getVisibility() == View.VISIBLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isShowingMoreKeysPanel() {
|
public boolean isShowingMoreKeysPanel() {
|
||||||
|
|
Loading…
Reference in New Issue