Break out a method

Change-Id: Ia14fc320422b7f198c33ba522bb93dd70fbcb2c1
main
Jean Chalard 2012-03-02 19:52:06 +09:00
parent 5a2c19d4fb
commit d02783cb63
1 changed files with 3 additions and 0 deletions

View File

@ -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) {