From 3d951c1eff4772e438eac8fe53bf6589b9eefa38 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Mon, 28 Jul 2014 19:33:49 +0900 Subject: [PATCH] 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 --- java/src/com/android/inputmethod/latin/LatinIME.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(