aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-07-28 19:33:49 +0900
committerJean Chalard <jchalard@google.com>2014-07-28 19:33:49 +0900
commit3d951c1eff4772e438eac8fe53bf6589b9eefa38 (patch)
tree78aa22d3f17783d131f18f2d7921fef067fe706f /java/src
parent825243bfdd6fb63c2ef8bf99024bb06e6f52e946 (diff)
downloadlatinime-3d951c1eff4772e438eac8fe53bf6589b9eefa38.tar.gz
latinime-3d951c1eff4772e438eac8fe53bf6589b9eefa38.tar.xz
latinime-3d951c1eff4772e438eac8fe53bf6589b9eefa38.zip
Wait for an event before actually realizing it
This would wrongly emit a 'timeout' log entry when switching between two instances of the same language. Change-Id: I56e5de121b87f3e762b58f0b2a77e9abc784036e
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index b641f3a8b..26ae1351c 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -237,10 +237,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
latinIme.mKeyboardSwitcher.getCurrentKeyboardScriptId());
break;
case MSG_REOPEN_DICTIONARIES:
- latinIme.resetSuggest();
// We need to re-evaluate the currently composing word in case the script has
// changed.
postWaitForDictionaryLoad();
+ latinIme.resetSuggest();
break;
case MSG_UPDATE_TAIL_BATCH_INPUT_COMPLETED:
latinIme.mInputLogic.onUpdateTailBatchInputCompleted(