Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a02f82c4 authored by Dan Zivkovic's avatar Dan Zivkovic Committed by Android Git Automerger
Browse files

am 6e0467c2: Fix accidentally inverted if check.

* commit '6e0467c2':
  Fix accidentally inverted if check.
parents 68946c79 6e0467c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.