aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-29 19:47:04 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-29 19:47:04 -0800
commit0e9b742450aec690067244fac1d82130ea61a9f3 (patch)
treeac884351a09656d9f68e30b0c240687a4ebd5cd5 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parent285ab4af53e4d6dc16d15c8486ffe8d8649b99e3 (diff)
parent362779d6084d0b5ca289764ae362c7ae909608c2 (diff)
downloadlatinime-0e9b742450aec690067244fac1d82130ea61a9f3.tar.gz
latinime-0e9b742450aec690067244fac1d82130ea61a9f3.tar.xz
latinime-0e9b742450aec690067244fac1d82130ea61a9f3.zip
am 362779d6: Merge "[IL104] Remove useless arguments"
* commit '362779d6084d0b5ca289764ae362c7ae909608c2': [IL104] Remove useless arguments
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, 2 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index c02f7318a..4bdbc75f5 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -1217,10 +1217,8 @@ public final class InputLogic {
// Since there is only one word, willAutoCorrect is false.
suggestedWords = suggestedWordsIncludingTypedWord;
}
- // We need to pass typedWord because mWordComposer.mTypedWord may
- // differ from typedWord.
mLatinIME.unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip(
- suggestedWords, typedWord);
+ suggestedWords);
}});
} else {
// We found suggestion spans in the word. We'll create the SuggestedWords out of
@@ -1229,8 +1227,7 @@ public final class InputLogic {
true /* typedWordValid */, false /* willAutoCorrect */,
false /* isPunctuationSuggestions */, false /* isObsoleteSuggestions */,
false /* isPrediction */, SuggestedWords.NOT_A_SEQUENCE_NUMBER);
- mLatinIME.unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip(suggestedWords,
- typedWord);
+ mLatinIME.unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip(suggestedWords);
}
}