aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-06-19 09:24:00 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-06-19 09:24:00 -0700
commitbd765d33556def42c41a6f36298f28feb01af8e4 (patch)
treee1a0d8cd6f1db150568f70c3dcf752b6ccd37004 /java/src/com/android/inputmethod/latin/LatinIME.java
parentb821b72aa174bcb597293428c75b4986bd05b702 (diff)
parent5475e92b3fb33dd7d6b021ddcbe1ca593112b5c8 (diff)
downloadlatinime-bd765d33556def42c41a6f36298f28feb01af8e4.tar.gz
latinime-bd765d33556def42c41a6f36298f28feb01af8e4.tar.xz
latinime-bd765d33556def42c41a6f36298f28feb01af8e4.zip
Merge "Cleanup, part 3 (C3)"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 3154676fd..da4a11433 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1928,7 +1928,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
final SuggestedWords suggestedWords;
- if (mCurrentSettings.mCorrectionMode == Suggest.CORRECTION_FULL_BIGRAM) {
+ if (mCurrentSettings.isCorrectionOn()) {
final CharSequence prevWord = mConnection.getThisWord(mCurrentSettings.mWordSeparators);
if (!TextUtils.isEmpty(prevWord)) {
suggestedWords = mSuggest.getBigramPredictions(prevWord);