From d02783cb63293507e8544ea60d07559092ce83d4 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Fri, 2 Mar 2012 19:52:06 +0900 Subject: [PATCH] Break out a method Change-Id: Ia14fc320422b7f198c33ba522bb93dd70fbcb2c1 --- java/src/com/android/inputmethod/latin/LatinIME.java | 3 +++ 1 file changed, 3 insertions(+) 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) {