Skip to content

Commit

Permalink
Fix NullPointerException.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansche committed Sep 12, 2016
1 parent e213e17 commit bdede55
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,9 @@ public void onKey(int primaryCode, int[] keyCodes) {
// Handle separator
commitTyped(getCurrentInputConnection());
sendKey(primaryCode);
setShiftedKeyboard(false);
if (mInputView != null) {
setShiftedKeyboard(false);
}
} else {
handleCharacter(primaryCode, keyCodes);
}
Expand Down

0 comments on commit bdede55

Please sign in to comment.