diff options
author | 2012-12-27 22:06:16 -0800 | |
---|---|---|
committer | 2012-12-27 22:06:16 -0800 | |
commit | 5bd724ef01293d7934c5c658f33f9b96ead92fd9 (patch) | |
tree | ff032769c010a5be1cacbd008e91e9f7157dba89 /java/src | |
parent | 3847ce5d96d017a288f0ba4ddbe88e39620e0994 (diff) | |
parent | ff778fd406a7c13a9af9e2c59d45d94b8540017d (diff) | |
download | latinime-5bd724ef01293d7934c5c658f33f9b96ead92fd9.tar.gz latinime-5bd724ef01293d7934c5c658f33f9b96ead92fd9.tar.xz latinime-5bd724ef01293d7934c5c658f33f9b96ead92fd9.zip |
am ff778fd4: Merge "A small simplification."
* commit 'ff778fd406a7c13a9af9e2c59d45d94b8540017d':
A small simplification.
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
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; } |