aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-30 03:47:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-01-30 03:47:32 +0000
commit0c186c31d2dcb69a5d59afe0107878544a706c7b (patch)
treecb56355c72790f14df43210677e6ca4af04efba9 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parent90c072a5ba288e7c33c02d9109f2ddc6a43a74ae (diff)
parentac84fe642eb4b2b8c0dd6248cb77c7f74251c6fe (diff)
downloadlatinime-0c186c31d2dcb69a5d59afe0107878544a706c7b.tar.gz
latinime-0c186c31d2dcb69a5d59afe0107878544a706c7b.tar.xz
latinime-0c186c31d2dcb69a5d59afe0107878544a706c7b.zip
Merge "[IL106] Inline a now useless method."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java7
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);
}
}