am 4970eda2: Fix a failing test

* commit '4970eda28628e044f90fb8425edcd0aa01f7c3dd':
  Fix a failing test
main
Jean Chalard 2013-12-27 03:55:02 -08:00 committed by Android Git Automerger
commit 98c0121ccd
1 changed files with 3 additions and 2 deletions

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;