From 3b939ed77f5de7509776a88059ac688757ee66ea Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Fri, 24 Jan 2014 18:41:24 +0900 Subject: [PATCH] [IL86] Simplification and correctness fix. This should be what was intended. Bug: 8636060 Change-Id: I20a1cc4f0b1fb9444fb6f9a20ef727e3d1a3a880 --- .../android/inputmethod/latin/inputlogic/InputLogic.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 880dd5527..3fb7037d2 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -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); }