aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-28 09:42:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-01-28 09:42:57 +0000
commit9214f17b862aa6b35dcda15ad14d3604e90988bb (patch)
tree5ee9ebe960276379f18a92c21c17755601c070a1 /java/src/com/android/inputmethod/latin/LatinIME.java
parent281966621705caf9240af4156e62d26d43d40ccb (diff)
parent491a6a6f236880e881e153396676713353062855 (diff)
downloadlatinime-9214f17b862aa6b35dcda15ad14d3604e90988bb.tar.gz
latinime-9214f17b862aa6b35dcda15ad14d3604e90988bb.tar.xz
latinime-9214f17b862aa6b35dcda15ad14d3604e90988bb.zip
Merge "[IL100] Pull up a check"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 18c22b94c..28d4360f6 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1428,8 +1428,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// TODO[IL]: Define a clean interface for this
public void showSuggestionStrip(final SuggestedWords suggestedWords) {
- showSuggestionStripWithTypedWord(suggestedWords, suggestedWords.isEmpty() ? null
- : suggestedWords.getWord(SuggestedWords.INDEX_OF_TYPED_WORD));
+ showSuggestionStripWithTypedWord(suggestedWords, suggestedWords.mTypedWord);
}
// Called from {@link SuggestionStripView} through the {@link SuggestionStripView#Listener}