Merge "Tell the text view we reset state on finish input"

main
Jean Chalard 2013-05-30 11:53:50 +00:00 committed by Android (Google) Code Review
commit 1a50999ed9
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) {