am 3c738d61: am 07d485d7: Merge "Fix a silly bug." into jb-mr1-dev
* commit '3c738d6151d0380d950c875dd94bfca312cd6285': Fix a silly bug.main
commit
d2db0add5e
|
@ -250,7 +250,7 @@ public class ExpandableDictionary extends Dictionary {
|
||||||
public ArrayList<SuggestedWordInfo> getSuggestions(final WordComposer composer,
|
public ArrayList<SuggestedWordInfo> getSuggestions(final WordComposer composer,
|
||||||
final CharSequence prevWord, final ProximityInfo proximityInfo) {
|
final CharSequence prevWord, final ProximityInfo proximityInfo) {
|
||||||
if (reloadDictionaryIfRequired()) return null;
|
if (reloadDictionaryIfRequired()) return null;
|
||||||
if (composer.size() <= 1) {
|
if (composer.size() > 1) {
|
||||||
if (composer.size() >= BinaryDictionary.MAX_WORD_LENGTH) {
|
if (composer.size() >= BinaryDictionary.MAX_WORD_LENGTH) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue