am 7f7739fe: Merge "Fix a bug where the spellcheck is using the old non-binary contacts dictionary" into jb-dev
* commit '7f7739fee82d6f2c240d0ed44e8948d09158f13a': Fix a bug where the spellcheck is using the old non-binary contacts dictionarymain
commit
18c4137c87
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue