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

Commit 3b939ed7 authored by Jean Chalard's avatar Jean Chalard
Browse files

[IL86] Simplification and correctness fix.

This should be what was intended.

Bug: 8636060
Change-Id: I20a1cc4f0b1fb9444fb6f9a20ef727e3d1a3a880
parent 07eddf3c
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1444,11 +1444,7 @@ public final class InputLogic {
            final int newSelStart, final int newSelEnd) {
        final boolean shouldFinishComposition = mWordComposer.isComposingWord();
        resetComposingState(true /* alsoResetLastComposedWord */);
        if (settingsValues.mBigramPredictionEnabled) {
            mLatinIME.clearSuggestionStrip();
        } else {
            mLatinIME.setSuggestedWords(settingsValues.mSpacingAndPunctuations.mSuggestPuncList);
        }
        mLatinIME.setNeutralSuggestionStrip();
        mConnection.resetCachesUponCursorMoveAndReturnSuccess(newSelStart, newSelEnd,
                shouldFinishComposition);
    }