mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix a bug where the spellcheck is using the old non-binary contacts dictionary" into jb-dev
This commit is contained in:
commit
7f7739fee8
@ -154,7 +154,11 @@ public class AndroidSpellCheckerService extends SpellCheckerService
|
||||
|
||||
private void startUsingContactsDictionaryLocked() {
|
||||
if (null == mContactsDictionary) {
|
||||
mContactsDictionary = new SynchronouslyLoadedContactsDictionary(this);
|
||||
if (LatinIME.USE_BINARY_CONTACTS_DICTIONARY) {
|
||||
mContactsDictionary = new SynchronouslyLoadedContactsBinaryDictionary(this);
|
||||
} else {
|
||||
mContactsDictionary = new SynchronouslyLoadedContactsDictionary(this);
|
||||
}
|
||||
}
|
||||
final Iterator<WeakReference<DictionaryCollection>> iterator =
|
||||
mDictionaryCollectionsList.iterator();
|
||||
|
Loading…
Reference in New Issue
Block a user