diff options
author | 2014-07-01 09:22:45 +0000 | |
---|---|---|
committer | 2014-06-26 23:14:30 +0000 | |
commit | e063e1b218ee8fddb0bd7d4b3b4e71052b57bb2b (patch) | |
tree | 700597302fcf3731fb69842a4e875b71519b0221 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | 350f23f67e2a380452403643e1d1d7aa544da6b7 (diff) | |
parent | fa4c59f9b6663e5de08692f853e968603dfc10e9 (diff) | |
download | latinime-e063e1b218ee8fddb0bd7d4b3b4e71052b57bb2b.tar.gz latinime-e063e1b218ee8fddb0bd7d4b3b4e71052b57bb2b.tar.xz latinime-e063e1b218ee8fddb0bd7d4b3b4e71052b57bb2b.zip |
Merge "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; } |