am 5717c63a: Fix possible NPE in DictionaryFacilitatorForSuggest.
* commit '5717c63a2b3876716986b24c86cc6c564c38e720': Fix possible NPE in DictionaryFacilitatorForSuggest.main
commit
c548b35b6a
|
@ -410,6 +410,7 @@ public class DictionaryFacilitatorForSuggest {
|
|||
final int sessionId, final Set<SuggestedWordInfo> suggestionSet) {
|
||||
for (final String key : mDictionaries.keySet()) {
|
||||
final Dictionary dictionary = mDictionaries.get(key);
|
||||
if (null == dictionary) continue;
|
||||
suggestionSet.addAll(dictionary.getSuggestionsWithSessionId(composer, prevWord,
|
||||
proximityInfo, blockOffensiveWords, additionalFeaturesOptions, sessionId));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue