diff options
author | 2014-07-01 09:24:38 +0000 | |
---|---|---|
committer | 2014-07-01 09:24:38 +0000 | |
commit | 294d3f7b89303b4c76068d013c9b4abe7f83ab17 (patch) | |
tree | b4cd3de7ee518e9d96cf09f84e72b63ac169ade9 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | f4a8a0a28b1efc5ba18686ae2685a54f83654ae0 (diff) | |
parent | e063e1b218ee8fddb0bd7d4b3b4e71052b57bb2b (diff) | |
download | latinime-294d3f7b89303b4c76068d013c9b4abe7f83ab17.tar.gz latinime-294d3f7b89303b4c76068d013c9b4abe7f83ab17.tar.xz latinime-294d3f7b89303b4c76068d013c9b4abe7f83ab17.zip |
am e063e1b2: Merge "Fix a unit test"
* commit 'e063e1b218ee8fddb0bd7d4b3b4e71052b57bb2b':
Fix a unit test
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 7719c6db6..7a4b726e8 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -362,7 +362,8 @@ public final class InputLogic { // The cursor has been moved : we now accept to perform recapitalization mRecapitalizeStatus.enable(); // We moved the cursor. If we are touching a word, we need to resume suggestion. - mLatinIME.mHandler.postResumeSuggestions(false /* shouldIncludeResumedWordInSuggestions */); + mLatinIME.mHandler.postResumeSuggestions(false /* shouldIncludeResumedWordInSuggestions */, + true /* shouldDelay */); // Stop the last recapitalization, if started. mRecapitalizeStatus.stop(); return true; @@ -1950,7 +1951,8 @@ public final class InputLogic { if (tryResumeSuggestions) { // This is triggered when starting input anew, so we want to include the resumed // word in suggestions. - handler.postResumeSuggestions(true /* shouldIncludeResumedWordInSuggestions */); + handler.postResumeSuggestions(true /* shouldIncludeResumedWordInSuggestions */, + true /* shouldDelay */); } return true; } |