Fix a failing test

How/when did this happen? How was it not noticed?

Change-Id: I352a8dad65f8c27bf5120d567e96d9a12cfa8496
This commit is contained in:
Jean Chalard 2013-12-27 20:04:27 +09:00
parent d05ea8bd82
commit 4970eda286

View file

@ -126,8 +126,9 @@ public final class Suggest {
} else { } else {
wordComposerForLookup = wordComposer; wordComposerForLookup = wordComposer;
} }
mDictionaryFacilitator.getSuggestions(wordComposer, prevWordForBigram, proximityInfo, mDictionaryFacilitator.getSuggestions(wordComposerForLookup, prevWordForBigram,
blockOffensiveWords, additionalFeaturesOptions, SESSION_TYPING, suggestionsSet); proximityInfo, blockOffensiveWords, additionalFeaturesOptions, SESSION_TYPING,
suggestionsSet);
final String whitelistedWord; final String whitelistedWord;
if (suggestionsSet.isEmpty()) { if (suggestionsSet.isEmpty()) {
whitelistedWord = null; whitelistedWord = null;