am df7c3683: am ac25fcac: Display punctuation suggestions on cursor move

* commit 'df7c3683c56702ef273fd7355de7ccbda56c6a5e':
  Display punctuation suggestions on cursor move
main
Jean Chalard 2012-09-04 05:19:12 -07:00 committed by Android Git Automerger
commit 6dee368f2a
1 changed files with 5 additions and 1 deletions

View File

@ -1045,7 +1045,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// the composing word, reset the last composed word, tell the inputconnection about it.
private void resetEntireInputState() {
resetComposingState(true /* alsoResetLastComposedWord */);
clearSuggestionStrip();
if (mCurrentSettings.mBigramPredictionEnabled) {
clearSuggestionStrip();
} else {
setSuggestionStrip(mCurrentSettings.mSuggestPuncList, false);
}
mConnection.finishComposingText();
}