Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32f6503a authored by Jean Chalard's avatar Jean Chalard
Browse files

Fix a silly bug.

This would prevent user history to work at all.

Bug: 7023638
Change-Id: I5d8867a07fb8859325d274e956ae667c094d0ac1
parent 48643b0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
            }