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

Commit 521a83a3 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "[IL86] Simplification and correctness fix."

parents 7aa7e366 3b939ed7
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1460,11 +1460,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);
    }