Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d02783cb authored by Jean Chalard's avatar Jean Chalard
Browse files

Break out a method

Change-Id: Ia14fc320422b7f198c33ba522bb93dd70fbcb2c1
parent 5a2c19d4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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) {