aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-03-02 19:52:06 +0900
committerJean Chalard <jchalard@google.com>2012-03-02 19:52:06 +0900
commitd02783cb63293507e8544ea60d07559092ce83d4 (patch)
treee6c57cf153f7e720a45b7df8c473b4d7eb76e0e9 /java/src
parent5a2c19d4fbfd2e5493a0679be983621e46e50907 (diff)
downloadlatinime-d02783cb63293507e8544ea60d07559092ce83d4.tar.gz
latinime-d02783cb63293507e8544ea60d07559092ce83d4.tar.xz
latinime-d02783cb63293507e8544ea60d07559092ce83d4.zip
Break out a method
Change-Id: Ia14fc320422b7f198c33ba522bb93dd70fbcb2c1
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index ce3e444d5..a68e20a5a 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1721,7 +1721,10 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
mKeyboardSwitcher.onAutoCorrectionStateChanged(
words.hasWordAboveAutoCorrectionScoreThreshold());
}
+ setAutoCorrectionIndicator(words);
+ }
+ private void setAutoCorrectionIndicator(final SuggestedWords words) {
// Put a blue underline to a word in TextView which will be auto-corrected.
final InputConnection ic = getCurrentInputConnection();
if (ic != null) {