Merge "Wait for an event before actually realizing it" into lmp-dev

This commit is contained in:
Jean Chalard 2014-07-28 10:45:42 +00:00 committed by Android (Google) Code Review
commit 036b83f4c4

View File

@ -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(