aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-06-15 11:49:57 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-06-15 20:02:45 +0900
commit08a6f2aea71d998206c47c16dcda4eaa90f8c9ea (patch)
treed903226b25ac60707dd3a6d981f1db2cd7eef331 /java/src/com/android/inputmethod/latin/LatinIME.java
parent66bafe24f604033d4a379675c965ca0615b6aa66 (diff)
downloadlatinime-08a6f2aea71d998206c47c16dcda4eaa90f8c9ea.tar.gz
latinime-08a6f2aea71d998206c47c16dcda4eaa90f8c9ea.tar.xz
latinime-08a6f2aea71d998206c47c16dcda4eaa90f8c9ea.zip
Make CandidateView aware of theme
This change is needed to introduce new theme easily. Bug: 4436327 Change-Id: Idc368b66d892d9c888ba7a26bfa3527c21678292
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 75bca9937..db8e52aa1 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1464,7 +1464,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
if (mCandidateView != null) {
mCandidateView.setSuggestions(words);
- if (mCandidateView.isConfigCandidateHighlightFontColorEnabled()) {
+ if (mCandidateView.needsAutoCorrectionSpacebarLed()) {
mKeyboardSwitcher.onAutoCorrectionStateChanged(
words.hasWordAboveAutoCorrectionScoreThreshold());
}