Remove access to the whitelist class.
...which becomes useless. It will be entirely removed in an upcoming change. Change-Id: I2f1d27f1eceda79454b01f21e057b98f2953131amain
parent
e2ac3932e3
commit
3e43e6998e
|
@ -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