Loading java/src/com/android/inputmethod/latin/LatinIME.java +0 −7 Original line number Original line Diff line number Diff line Loading @@ -1789,14 +1789,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar // Put a blue underline to a word in TextView which will be auto-corrected. // Put a blue underline to a word in TextView which will be auto-corrected. final InputConnection ic = getCurrentInputConnection(); final InputConnection ic = getCurrentInputConnection(); if (ic != null) { if (ic != null) { final boolean oldAutoCorrectionIndicator = mComposingStateManager.isAutoCorrectionIndicatorOn(); if (mIsAutoCorrectionIndicatorOn != newAutoCorrectionIndicator) { if (mIsAutoCorrectionIndicatorOn != newAutoCorrectionIndicator) { mComposingStateManager.setAutoCorrectionIndicatorOn(newAutoCorrectionIndicator); if (DEBUG) { Log.d(TAG, "Flip the indicator. " + oldAutoCorrectionIndicator + " -> " + newAutoCorrectionIndicator); } if (mWordComposer.isComposingWord()) { if (mWordComposer.isComposingWord()) { mIsAutoCorrectionIndicatorOn = newAutoCorrectionIndicator; mIsAutoCorrectionIndicatorOn = newAutoCorrectionIndicator; final CharSequence textWithUnderline = final CharSequence textWithUnderline = Loading Loading
java/src/com/android/inputmethod/latin/LatinIME.java +0 −7 Original line number Original line Diff line number Diff line Loading @@ -1789,14 +1789,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar // Put a blue underline to a word in TextView which will be auto-corrected. // Put a blue underline to a word in TextView which will be auto-corrected. final InputConnection ic = getCurrentInputConnection(); final InputConnection ic = getCurrentInputConnection(); if (ic != null) { if (ic != null) { final boolean oldAutoCorrectionIndicator = mComposingStateManager.isAutoCorrectionIndicatorOn(); if (mIsAutoCorrectionIndicatorOn != newAutoCorrectionIndicator) { if (mIsAutoCorrectionIndicatorOn != newAutoCorrectionIndicator) { mComposingStateManager.setAutoCorrectionIndicatorOn(newAutoCorrectionIndicator); if (DEBUG) { Log.d(TAG, "Flip the indicator. " + oldAutoCorrectionIndicator + " -> " + newAutoCorrectionIndicator); } if (mWordComposer.isComposingWord()) { if (mWordComposer.isComposingWord()) { mIsAutoCorrectionIndicatorOn = newAutoCorrectionIndicator; mIsAutoCorrectionIndicatorOn = newAutoCorrectionIndicator; final CharSequence textWithUnderline = final CharSequence textWithUnderline = Loading