am 18c4137c
: am 7f7739fe
: Merge "Fix a bug where the spellcheck is using the old non-binary contacts dictionary" into jb-dev
* commit '18c4137c878c18de24a406b861ddb2a735e02f7d': Fix a bug where the spellcheck is using the old non-binary contacts dictionary
This commit is contained in:
commit
f93551f77b
1 changed files with 5 additions and 1 deletions
|
@ -154,8 +154,12 @@ public class AndroidSpellCheckerService extends SpellCheckerService
|
||||||
|
|
||||||
private void startUsingContactsDictionaryLocked() {
|
private void startUsingContactsDictionaryLocked() {
|
||||||
if (null == mContactsDictionary) {
|
if (null == mContactsDictionary) {
|
||||||
|
if (LatinIME.USE_BINARY_CONTACTS_DICTIONARY) {
|
||||||
|
mContactsDictionary = new SynchronouslyLoadedContactsBinaryDictionary(this);
|
||||||
|
} else {
|
||||||
mContactsDictionary = new SynchronouslyLoadedContactsDictionary(this);
|
mContactsDictionary = new SynchronouslyLoadedContactsDictionary(this);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
final Iterator<WeakReference<DictionaryCollection>> iterator =
|
final Iterator<WeakReference<DictionaryCollection>> iterator =
|
||||||
mDictionaryCollectionsList.iterator();
|
mDictionaryCollectionsList.iterator();
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
|
|
Loading…
Reference in a new issue