diff options
author | 2012-03-02 19:52:06 +0900 | |
---|---|---|
committer | 2012-03-02 19:52:06 +0900 | |
commit | d02783cb63293507e8544ea60d07559092ce83d4 (patch) | |
tree | e6c57cf153f7e720a45b7df8c473b4d7eb76e0e9 /java/src | |
parent | 5a2c19d4fbfd2e5493a0679be983621e46e50907 (diff) | |
download | latinime-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.java | 3 |
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) { |