diff options
author | 2014-01-24 22:12:28 +0900 | |
---|---|---|
committer | 2014-01-28 17:18:02 +0900 | |
commit | 4500dedfa94a0f0da16e04bc758eef6e02ef72af (patch) | |
tree | f2d84cdcabae38ff13ad4ad9a596b93142d690a9 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | 491a6a6f236880e881e153396676713353062855 (diff) | |
download | latinime-4500dedfa94a0f0da16e04bc758eef6e02ef72af.tar.gz latinime-4500dedfa94a0f0da16e04bc758eef6e02ef72af.tar.xz latinime-4500dedfa94a0f0da16e04bc758eef6e02ef72af.zip |
[IL101] Remove a method
Bug: 8636060
Change-Id: Ic9c12fc6970987b0e1912e8ae85bed55260d66b5
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); |