* commit '0de529b4cac458b2d561060d3ae2c7f7f82b676d':
  Fix NPE
This commit is contained in:
Ken Wakasa 2014-05-02 15:44:19 +00:00 committed by Android Git Automerger
commit 70a450afe9

View file

@ -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) {