aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-12-27 22:04:22 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-12-27 22:04:22 -0800
commitff778fd406a7c13a9af9e2c59d45d94b8540017d (patch)
treeff032769c010a5be1cacbd008e91e9f7157dba89 /java/src/com
parent07711c10b8a64f26f4ecb1df0bb84df95c7f25d2 (diff)
parent864db4b0dad32a2e949f2e4396d9cf5a234fcefd (diff)
downloadlatinime-ff778fd406a7c13a9af9e2c59d45d94b8540017d.tar.gz
latinime-ff778fd406a7c13a9af9e2c59d45d94b8540017d.tar.xz
latinime-ff778fd406a7c13a9af9e2c59d45d94b8540017d.zip
Merge "A small simplification."
Diffstat (limited to 'java/src/com')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 3ee4459e4..1607f88aa 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -997,9 +997,6 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
final boolean isAutoCorrection = false;
setSuggestionStrip(suggestedWords, isAutoCorrection);
setAutoCorrectionIndicator(isAutoCorrection);
- // TODO: is this the right thing to do? What should we auto-correct to in
- // this case? This says to keep whatever the user typed.
- mWordComposer.setAutoCorrection(mWordComposer.getTypedWord());
setSuggestionStripShown(true);
if (ProductionFlag.IS_EXPERIMENTAL) {
ResearchLogger.latinIME_onDisplayCompletions(applicationSpecifiedCompletions);
@@ -1989,7 +1986,6 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
if (mWordComposer.isComposingWord()) {
Log.w(TAG, "Called updateSuggestionsOrPredictions but suggestions were not "
+ "requested!");
- mWordComposer.setAutoCorrection(mWordComposer.getTypedWord());
}
return;
}