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

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

am 7f7739fe: Merge "Fix a bug where the spellcheck is using the old non-binary...

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

* commit '7f7739fe':
  Fix a bug where the spellcheck is using the old non-binary contacts dictionary
parents 7394fc43 7f7739fe
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()) {