diff options
author | 2014-01-24 22:59:21 +0900 | |
---|---|---|
committer | 2014-01-29 12:23:40 +0900 | |
commit | ac84fe642eb4b2b8c0dd6248cb77c7f74251c6fe (patch) | |
tree | dcdf4ee1b1f07598f1f647e409fb3cda586f9ca9 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | fa7075768da25341bf84e9f87bba09356961e2e8 (diff) | |
download | latinime-ac84fe642eb4b2b8c0dd6248cb77c7f74251c6fe.tar.gz latinime-ac84fe642eb4b2b8c0dd6248cb77c7f74251c6fe.tar.xz latinime-ac84fe642eb4b2b8c0dd6248cb77c7f74251c6fe.zip |
[IL106] Inline a now useless method.
Bug: 8636060
Change-Id: Ic8e0225206358680aa0de421f17ab443c888036d
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 7 |
1 files changed, 4 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 cf60cdf2d..1bc67b2a0 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -1217,8 +1217,8 @@ public final class InputLogic { // Since there is only one word, willAutoCorrect is false. suggestedWords = suggestedWordsIncludingTypedWord; } - mLatinIME.unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip( - suggestedWords); + mIsAutoCorrectionIndicatorOn = false; + mLatinIME.mHandler.showSuggestionStrip(suggestedWords); }}); } else { // We found suggestion spans in the word. We'll create the SuggestedWords out of @@ -1227,7 +1227,8 @@ public final class InputLogic { true /* typedWordValid */, false /* willAutoCorrect */, false /* isPunctuationSuggestions */, false /* isObsoleteSuggestions */, false /* isPrediction */, SuggestedWords.NOT_A_SEQUENCE_NUMBER); - mLatinIME.unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip(suggestedWords); + mIsAutoCorrectionIndicatorOn = false; + mLatinIME.mHandler.showSuggestionStrip(suggestedWords); } } |