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
parent
825243bfdd
commit
3d951c1eff
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue