Merge "[IL86] Simplification and correctness fix."
commit
521a83a3f1
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue