commit | dfd4abe81844f3a26f5c484163806606dfeaa429 | [log] [tgz] |
---|---|---|
author | Jean Chalard <jchalard@google.com> | Fri Mar 09 19:31:35 2012 +0900 |
committer | Jean Chalard <jchalard@google.com> | Fri Mar 09 19:31:35 2012 +0900 |
tree | 899e674a5d8c3d83006380417ea71ea677b9aa80 | |
parent | 0cf422fbb763e2672fb2f9e8e1e8af91d2e87cb3 [diff] |
Fix a shameful bug I must have been sleeping when I wrote that Change-Id: I887180ab610785a2000636adeeed99230b3c5390
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 5098494..5b43659 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -2047,7 +2047,7 @@ 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(), "");