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 {
wordComposerForLookup = wordComposer;
}
mDictionaryFacilitator.getSuggestions(wordComposer, prevWordForBigram, proximityInfo,
blockOffensiveWords, additionalFeaturesOptions, SESSION_TYPING, suggestionsSet);
mDictionaryFacilitator.getSuggestions(wordComposerForLookup, prevWordForBigram,
proximityInfo, blockOffensiveWords, additionalFeaturesOptions, SESSION_TYPING,
suggestionsSet);
final String whitelistedWord;
if (suggestionsSet.isEmpty()) {
whitelistedWord = null;