aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-05-29 18:44:40 +0900
committerJean Chalard <jchalard@google.com>2013-05-29 18:44:40 +0900
commit68d9cb62e2ed0954d9bfa51e95c35ea69feaeb27 (patch)
tree4fd6f72e8e0e3cef7d2c23a1dce7d7553f3c5417 /java/src
parent305509ed2feffa5c57cd21bb7cc137e444df3390 (diff)
downloadlatinime-68d9cb62e2ed0954d9bfa51e95c35ea69feaeb27.tar.gz
latinime-68d9cb62e2ed0954d9bfa51e95c35ea69feaeb27.tar.xz
latinime-68d9cb62e2ed0954d9bfa51e95c35ea69feaeb27.zip
Tell the text view we reset state on finish input
This should be done in onFinishInput rather than onFinishInputView but for an unknown reason onFinishInput never comes. Bug: 9113167 Change-Id: Iafb40846a3ed8fad78bfc160d17cd431f81fe891
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index cebc93c18..c9a42a3a4 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -855,6 +855,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
// Remove pending messages related to update suggestions
mHandler.cancelUpdateSuggestionStrip();
+ if (mWordComposer.isComposingWord()) mConnection.finishComposingText();
resetComposingState(true /* alsoResetLastComposedWord */);
// Notify ResearchLogger
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {