diff options
author | 2012-07-05 17:03:19 +0900 | |
---|---|---|
committer | 2012-07-05 17:03:19 +0900 | |
commit | d3187f0a816c53da1bfce0c00770c4d44add68cd (patch) | |
tree | 12f4e45780c792a117d39b82df1b81c10bed3c21 /java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java | |
parent | 086f069448ed52410e30737f2de3ca89cf05ebc1 (diff) | |
download | latinime-d3187f0a816c53da1bfce0c00770c4d44add68cd.tar.gz latinime-d3187f0a816c53da1bfce0c00770c4d44add68cd.tar.xz latinime-d3187f0a816c53da1bfce0c00770c4d44add68cd.zip |
Manual copy everything
Change-Id: Ia3f8713f4c854ad12c009f64a38040cf3ac69731
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java index e86390b11..642a551ce 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java +++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java @@ -57,11 +57,11 @@ import com.android.inputmethod.keyboard.KeyboardView; import com.android.inputmethod.keyboard.MoreKeysPanel; import com.android.inputmethod.keyboard.PointerTracker; import com.android.inputmethod.keyboard.ViewLayoutUtils; +import com.android.inputmethod.latin.AutoCorrection; import com.android.inputmethod.latin.LatinImeLogger; import com.android.inputmethod.latin.R; import com.android.inputmethod.latin.ResearchLogger; import com.android.inputmethod.latin.StaticInnerHandlerWrapper; -import com.android.inputmethod.latin.Suggest; import com.android.inputmethod.latin.SuggestedWords; import com.android.inputmethod.latin.Utils; import com.android.inputmethod.latin.define.ProductionFlag; @@ -336,8 +336,8 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener, if (LatinImeLogger.sDBG && suggestedWords.size() > 1) { // If we auto-correct, then the autocorrection is in slot 0 and the typed word // is in slot 1. - if (index == mCenterSuggestionIndex && suggestedWords.mHasAutoCorrectionCandidate - && Suggest.shouldBlockAutoCorrectionBySafetyNet( + if (index == mCenterSuggestionIndex + && AutoCorrection.shouldBlockAutoCorrectionBySafetyNet( suggestedWords.getWord(1).toString(), suggestedWords.getWord(0))) { return 0xFFFF0000; } |