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

Commit 152563cf authored by Jean Chalard's avatar Jean Chalard Committed by Android Git Automerger
Browse files

am 449415c7: Cleanup (A9)

* commit '449415c7':
  Cleanup (A9)
parents 9e713dd4 449415c7
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -311,8 +311,10 @@ public class WordComposer {
        // instead of only on cancel), and ultimately we want to figure it out even earlier anyway.
        final LastComposedWord lastComposedWord = new LastComposedWord(mCodes,
                mXCoordinates, mYCoordinates, mTypedWord.toString(),
                (type != LastComposedWord.COMMIT_TYPE_DECIDED_WORD) || (null == mAutoCorrection)
                        ? null : mAutoCorrection.toString());
                null == mAutoCorrection ? null : mAutoCorrection.toString());
        if (type != LastComposedWord.COMMIT_TYPE_DECIDED_WORD) {
            lastComposedWord.deactivate();
        }
        mCodes.clear();
        mTypedWord.setLength(0);
        mAutoCorrection = null;