Merge "Fix: Wrong null check for user history dict."
commit
1ed248dc2f
|
@ -384,7 +384,7 @@ public class DictionaryFacilitatorForSuggest {
|
|||
final Dictionaries dictionaries = mDictionaries;
|
||||
final ExpandableBinaryDictionary userHistoryDictionary =
|
||||
dictionaries.getSubDict(Dictionary.TYPE_USER_HISTORY);
|
||||
if (userHistoryDictionary != null) {
|
||||
if (userHistoryDictionary == null) {
|
||||
return;
|
||||
}
|
||||
final int maxFreq = getMaxFrequency(suggestion);
|
||||
|
|
Loading…
Reference in New Issue