am 521a83a3: Merge "[IL86] Simplification and correctness fix."

* commit '521a83a3f122d02d24317540fd7bafb1918acb08':
  [IL86] Simplification and correctness fix.
main
Jean Chalard 2014-01-27 03:18:40 -08:00 committed by Android Git Automerger
commit 38f4272ade
1 changed files with 1 additions and 5 deletions

View File

@ -1460,11 +1460,7 @@ public final class InputLogic {
final int newSelStart, final int newSelEnd) { final int newSelStart, final int newSelEnd) {
final boolean shouldFinishComposition = mWordComposer.isComposingWord(); final boolean shouldFinishComposition = mWordComposer.isComposingWord();
resetComposingState(true /* alsoResetLastComposedWord */); resetComposingState(true /* alsoResetLastComposedWord */);
if (settingsValues.mBigramPredictionEnabled) { mLatinIME.setNeutralSuggestionStrip();
mLatinIME.clearSuggestionStrip();
} else {
mLatinIME.setSuggestedWords(settingsValues.mSpacingAndPunctuations.mSuggestPuncList);
}
mConnection.resetCachesUponCursorMoveAndReturnSuccess(newSelStart, newSelEnd, mConnection.resetCachesUponCursorMoveAndReturnSuccess(newSelStart, newSelEnd,
shouldFinishComposition); shouldFinishComposition);
} }