diff options
author | 2010-10-06 02:46:03 -0700 | |
---|---|---|
committer | 2010-10-06 02:46:03 -0700 | |
commit | 018afe8c7e90b8dd0fde4f22873ecdf38086358e (patch) | |
tree | c8e7a751aa7e80c0ad70e50b2617d542a2e11323 /java/src | |
parent | 57108c2f1c5b811a8b207ac53f4e3b4ef7ddcba4 (diff) | |
parent | 6495bfc7a6f6bfa6ab82e7f062ee80f4b6b33368 (diff) | |
download | latinime-018afe8c7e90b8dd0fde4f22873ecdf38086358e.tar.gz latinime-018afe8c7e90b8dd0fde4f22873ecdf38086358e.tar.xz latinime-018afe8c7e90b8dd0fde4f22873ecdf38086358e.zip |
am 6495bfc7: Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
Merge commit '6495bfc7a6f6bfa6ab82e7f062ee80f4b6b33368' into gingerbread-plus-aosp
* commit '6495bfc7a6f6bfa6ab82e7f062ee80f4b6b33368':
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 4328b823d..8eeae8600 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(); |