am 1a50999e: Merge "Tell the text view we reset state on finish input"

* commit '1a50999ed9cfbffa03b8e034ec67f06a8e5c68ba':
  Tell the text view we reset state on finish input
main
Jean Chalard 2013-05-30 04:55:31 -07:00 committed by Android Git Automerger
commit 9a28541e05
1 changed files with 1 additions and 0 deletions

View File

@ -855,6 +855,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
} }
// Remove pending messages related to update suggestions // Remove pending messages related to update suggestions
mHandler.cancelUpdateSuggestionStrip(); mHandler.cancelUpdateSuggestionStrip();
if (mWordComposer.isComposingWord()) mConnection.finishComposingText();
resetComposingState(true /* alsoResetLastComposedWord */); resetComposingState(true /* alsoResetLastComposedWord */);
// Notify ResearchLogger // Notify ResearchLogger
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) { if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {