aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-29 19:47:01 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-29 19:47:01 -0800
commit285ab4af53e4d6dc16d15c8486ffe8d8649b99e3 (patch)
treeff85c4917b9a362deff15145bb846480f74039e5 /java/src/com/android/inputmethod/latin/LatinIME.java
parentb18c22082be8ba3522e2f3adb4fa2f1e9c7463ca (diff)
parente5040f6b0d4101c55c11d5e200dc2b203b7cbdc0 (diff)
downloadlatinime-285ab4af53e4d6dc16d15c8486ffe8d8649b99e3.tar.gz
latinime-285ab4af53e4d6dc16d15c8486ffe8d8649b99e3.tar.xz
latinime-285ab4af53e4d6dc16d15c8486ffe8d8649b99e3.zip
am e5040f6b: Merge "[IL103] Save the typed word separately in SuggestedWords."
* commit 'e5040f6b0d4101c55c11d5e200dc2b203b7cbdc0': [IL103] Save the typed word separately in SuggestedWords.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index e8ea5e39d..46f2b3c2b 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1538,6 +1538,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
}
+ // [IL] TODO: remove the second argument
public void unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip(
final SuggestedWords suggestedWords, final String typedWord) {
// Note that it's very important here that suggestedWords.mWillAutoCorrect is false.
@@ -1547,7 +1548,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// the text to adapt it.
// TODO: remove mIsAutoCorrectionIndicatorOn (see comment on definition)
mInputLogic.mIsAutoCorrectionIndicatorOn = false;
- mHandler.showSuggestionStripWithTypedWord(suggestedWords, typedWord);
+ mHandler.showSuggestionStripWithTypedWord(suggestedWords, suggestedWords.mTypedWord);
}
// TODO: Make this private