aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-24 22:08:46 +0900
committerJean Chalard <jchalard@google.com>2014-01-28 17:18:01 +0900
commit491a6a6f236880e881e153396676713353062855 (patch)
treea9f8d8355c671b914b5910a01e22002dc8cc7252 /java/src/com/android/inputmethod/latin/LatinIME.java
parent4761d2fb002bddd487a24de5965c09538598813c (diff)
downloadlatinime-491a6a6f236880e881e153396676713353062855.tar.gz
latinime-491a6a6f236880e881e153396676713353062855.tar.xz
latinime-491a6a6f236880e881e153396676713353062855.zip
[IL100] Pull up a check
Bug: 8636060 Change-Id: I344ed59f5f55b412880fc6dc70205eecb1e79961
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}