diff options
author | 2014-01-28 01:45:38 -0800 | |
---|---|---|
committer | 2014-01-28 01:45:38 -0800 | |
commit | bb4280669a32240cacc66dc39bbcc640386222c6 (patch) | |
tree | 83328e39127ad7c8f2c9bdc562387fb17adbe218 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | fc12004571c4a22b087054850a558a96f9584294 (diff) | |
parent | 67d85f663aaad5b14acf089ef0f62a5293d485c1 (diff) | |
download | latinime-bb4280669a32240cacc66dc39bbcc640386222c6.tar.gz latinime-bb4280669a32240cacc66dc39bbcc640386222c6.tar.xz latinime-bb4280669a32240cacc66dc39bbcc640386222c6.zip |
am 67d85f66: Merge "[IL101] Remove a method"
* commit '67d85f663aaad5b14acf089ef0f62a5293d485c1':
[IL101] Remove a method
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 98cce0d24..2978aa852 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -1116,7 +1116,7 @@ public final class InputLogic { final SuggestedWords suggestedWords = holder.get(null, Constants.GET_SUGGESTED_WORDS_TIMEOUT); if (suggestedWords != null) { - mLatinIME.showSuggestionStrip(suggestedWords); + mLatinIME.showSuggestionStripWithTypedWord(suggestedWords, suggestedWords.mTypedWord); } } @@ -1618,8 +1618,11 @@ public final class InputLogic { final int indexOfLastSpace = batchInputText.lastIndexOf(Constants.CODE_SPACE) + 1; if (0 != indexOfLastSpace) { mConnection.commitText(batchInputText.substring(0, indexOfLastSpace), 1); - mLatinIME.showSuggestionStrip( - suggestedWords.getSuggestedWordsForLastWordOfPhraseGesture()); + final SuggestedWords suggestedWordsForLastWordOfPhraseGesture = + suggestedWords.getSuggestedWordsForLastWordOfPhraseGesture(); + mLatinIME.showSuggestionStripWithTypedWord( + suggestedWordsForLastWordOfPhraseGesture, + suggestedWordsForLastWordOfPhraseGesture.mTypedWord); } final String lastWord = batchInputText.substring(indexOfLastSpace); mWordComposer.setBatchInputWord(lastWord); |