diff options
author | 2010-10-08 14:36:31 -0700 | |
---|---|---|
committer | 2010-10-08 14:36:31 -0700 | |
commit | 9c50d2ea36bbf3449b66e0504bc542f8019f0c77 (patch) | |
tree | f25f23c2fbe30830293fafc3cb97f9f913bdd356 /java/src | |
parent | a7fda868d9194f71be6e2343da9517421350c721 (diff) | |
parent | 018afe8c7e90b8dd0fde4f22873ecdf38086358e (diff) | |
download | latinime-9c50d2ea36bbf3449b66e0504bc542f8019f0c77.tar.gz latinime-9c50d2ea36bbf3449b66e0504bc542f8019f0c77.tar.xz latinime-9c50d2ea36bbf3449b66e0504bc542f8019f0c77.zip |
am 018afe8c: am 6495bfc7: Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
Merge commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e'
* commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e':
Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 45aef8d38..1aa85d9cd 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -728,6 +728,14 @@ public class LatinIME extends InputMethodService } @Override + public void onFinishInputView(boolean finishingInput) { + super.onFinishInputView(finishingInput); + // Remove penging messages related to update suggestions + mHandler.removeMessages(MSG_UPDATE_SUGGESTIONS); + mHandler.removeMessages(MSG_UPDATE_OLD_SUGGESTIONS); + } + + @Override public void onUpdateExtractedText(int token, ExtractedText text) { super.onUpdateExtractedText(token, text); InputConnection ic = getCurrentInputConnection(); |