am 6e0467c2: Fix accidentally inverted if check.

* commit '6e0467c20e51bc64f494141cecdfc0fe560d749b':
  Fix accidentally inverted if check.
main
Dan Zivkovic 2015-02-05 02:31:07 +00:00 committed by Android Git Automerger
commit a02f82c48d
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ public final class InputLogic {
handler.cancelUpdateSuggestionStrip();
++mAutoCommitSequenceNumber;
mConnection.beginBatchEdit();
if (!mWordComposer.isComposingWord()) {
if (mWordComposer.isComposingWord()) {
if (mWordComposer.isCursorFrontOrMiddleOfComposingWord()) {
// If we are in the middle of a recorrection, we need to commit the recorrection
// first so that we can insert the batch input at the current cursor position.