Fix a silly bug.
This would prevent user history to work at all. Bug: 7023638 Change-Id: I5d8867a07fb8859325d274e956ae667c094d0ac1main
parent
48643b0e0d
commit
32f6503a27
|
@ -251,7 +251,7 @@ public class ExpandableDictionary extends Dictionary {
|
|||
public ArrayList<SuggestedWordInfo> getSuggestions(final WordComposer composer,
|
||||
final CharSequence prevWord, final ProximityInfo proximityInfo) {
|
||||
if (reloadDictionaryIfRequired()) return null;
|
||||
if (composer.size() <= 1) {
|
||||
if (composer.size() > 1) {
|
||||
if (composer.size() >= BinaryDictionary.MAX_WORD_LENGTH) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue