am 3bfc9d46: Merge "Schedule with 0 delay is the same as execute."
* commit '3bfc9d46923a2f769ac2072ac817b01b720fabb2': Schedule with 0 delay is the same as execute.main
commit
4b0697938b
|
@ -186,8 +186,7 @@ public class UserDictionaryLookup implements Closeable {
|
|||
// Schedule the initial load to run immediately. It's possible that the first call to
|
||||
// isValidWord occurs before the dictionary has actually loaded, so it should not
|
||||
// assume that the dictionary has been loaded.
|
||||
ExecutorUtils.getExecutorForDynamicLanguageModelUpdate().schedule(
|
||||
mLoader, 0, TimeUnit.MILLISECONDS);
|
||||
ExecutorUtils.getExecutorForDynamicLanguageModelUpdate().execute(mLoader);
|
||||
|
||||
// Register the observer to be notified on changes to the UserDictionary and all individual
|
||||
// items.
|
||||
|
|
Loading…
Reference in New Issue