Merge "Fix a silly bug." into jb-mr1-dev

main
Jean Chalard 2012-08-21 20:16:27 -07:00 committed by Android (Google) Code Review
commit 07d485d705
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,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;
}