am 0de529b4
: Fix NPE
* commit '0de529b4cac458b2d561060d3ae2c7f7f82b676d': Fix NPE
This commit is contained in:
commit
70a450afe9
1 changed files with 3 additions and 1 deletions
|
@ -147,7 +147,9 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
|
|||
|
||||
public void onHideWindow() {
|
||||
mIsAutoCorrectionActive = false;
|
||||
mKeyboardView.onHideWindow();
|
||||
if (mKeyboardView != null) {
|
||||
mKeyboardView.onHideWindow();
|
||||
}
|
||||
}
|
||||
|
||||
private void setKeyboard(final Keyboard keyboard) {
|
||||
|
|
Loading…
Reference in a new issue