am 6ce0c23e: am 04d6649d: Merge "Remove access to the whitelist class." into jb-mr1-dev
* commit '6ce0c23e40da08393407e39af6faacda93793f8d': Remove access to the whitelist class.main
commit
96a1c1a34e
|
@ -216,15 +216,6 @@ public class Suggest {
|
||||||
wordComposerForLookup, prevWordForBigram, proximityInfo));
|
wordComposerForLookup, prevWordForBigram, proximityInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
final CharSequence whitelistedWordFromWhitelistDictionary =
|
|
||||||
mWhiteListDictionary.getWhitelistedWord(consideredWord);
|
|
||||||
if (whitelistedWordFromWhitelistDictionary != null) {
|
|
||||||
// MAX_SCORE ensures this will be considered strong enough to be auto-corrected
|
|
||||||
suggestionsSet.add(new SuggestedWordInfo(whitelistedWordFromWhitelistDictionary,
|
|
||||||
SuggestedWordInfo.MAX_SCORE, SuggestedWordInfo.KIND_WHITELIST,
|
|
||||||
Dictionary.TYPE_WHITELIST));
|
|
||||||
}
|
|
||||||
|
|
||||||
final CharSequence whitelistedWord;
|
final CharSequence whitelistedWord;
|
||||||
if (suggestionsSet.isEmpty()) {
|
if (suggestionsSet.isEmpty()) {
|
||||||
whitelistedWord = null;
|
whitelistedWord = null;
|
||||||
|
|
Loading…
Reference in New Issue