Fix a shameful bug
I must have been sleeping when I wrote that Change-Id: I887180ab610785a2000636adeeed99230b3c5390
This commit is contained in:
parent
0cf422fbb7
commit
dfd4abe818
1 changed files with 1 additions and 1 deletions
|
@ -2047,7 +2047,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||
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
|
||||
// showSuggestions will retrieve the word near the cursor, we don't want that here)
|
||||
showSuggestions(builder.build(), "");
|
||||
|
|
Loading…
Reference in a new issue