Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f93551f7 authored by Tom Ouyang's avatar Tom Ouyang Committed by Android Git Automerger
Browse files

am 18c4137c: am 7f7739fe: Merge "Fix a bug where the spellcheck is using the...

am 18c4137c: am 7f7739fe: Merge "Fix a bug where the spellcheck is using the old non-binary contacts dictionary" into jb-dev

* commit '18c4137c':
  Fix a bug where the spellcheck is using the old non-binary contacts dictionary
parents 037cf8c8 18c4137c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -154,8 +154,12 @@ public class AndroidSpellCheckerService extends SpellCheckerService

    private void startUsingContactsDictionaryLocked() {
        if (null == mContactsDictionary) {
            if (LatinIME.USE_BINARY_CONTACTS_DICTIONARY) {
                mContactsDictionary = new SynchronouslyLoadedContactsBinaryDictionary(this);
            } else {
                mContactsDictionary = new SynchronouslyLoadedContactsDictionary(this);
            }
        }
        final Iterator<WeakReference<DictionaryCollection>> iterator =
                mDictionaryCollectionsList.iterator();
        while (iterator.hasNext()) {