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

Commit dfd4abe8 authored by Jean Chalard's avatar Jean Chalard
Browse files

Fix a shameful bug

I must have been sleeping when I wrote that

Change-Id: I887180ab610785a2000636adeeed99230b3c5390
parent 0cf422fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2047,7 +2047,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
            builder = null;
            builder = null;
        }
        }


        if (null == builder || builder.size() > 0) {
        if (null != builder && builder.size() > 0) {
            // Explicitly supply an empty typed word (the no-second-arg version of
            // Explicitly supply an empty typed word (the no-second-arg version of
            // showSuggestions will retrieve the word near the cursor, we don't want that here)
            // showSuggestions will retrieve the word near the cursor, we don't want that here)
            showSuggestions(builder.build(), "");
            showSuggestions(builder.build(), "");