Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
6a000183
Commit
6a000183
authored
10 years ago
by
Dan Zivkovic
Browse files
Options
Downloads
Patches
Plain Diff
Schedule with 0 delay is the same as execute.
Change-Id: Ifadae8aee668edbe2b507735d3ed6e68d52ef329
parent
705b1186
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/com/android/inputmethod/latin/spellcheck/UserDictionaryLookup.java
+1
-2
1 addition, 2 deletions
...id/inputmethod/latin/spellcheck/UserDictionaryLookup.java
with
1 addition
and
2 deletions
java/src/com/android/inputmethod/latin/spellcheck/UserDictionaryLookup.java
+
1
−
2
View file @
6a000183
...
@@ -186,8 +186,7 @@ public class UserDictionaryLookup implements Closeable {
...
@@ -186,8 +186,7 @@ public class UserDictionaryLookup implements Closeable {
// Schedule the initial load to run immediately. It's possible that the first call to
// 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
// isValidWord occurs before the dictionary has actually loaded, so it should not
// assume that the dictionary has been loaded.
// assume that the dictionary has been loaded.
ExecutorUtils
.
getExecutorForDynamicLanguageModelUpdate
().
schedule
(
ExecutorUtils
.
getExecutorForDynamicLanguageModelUpdate
().
execute
(
mLoader
);
mLoader
,
0
,
TimeUnit
.
MILLISECONDS
);
// Register the observer to be notified on changes to the UserDictionary and all individual
// Register the observer to be notified on changes to the UserDictionary and all individual
// items.
// items.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment