Merge "Remove stuff that's not used any more (B3)"
commit
4b656a3fef
|
@ -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.
|
||||
final InputConnection ic = getCurrentInputConnection();
|
||||
if (ic != null) {
|
||||
final boolean oldAutoCorrectionIndicator =
|
||||
mComposingStateManager.isAutoCorrectionIndicatorOn();
|
||||
if (mIsAutoCorrectionIndicatorOn != newAutoCorrectionIndicator) {
|
||||
mComposingStateManager.setAutoCorrectionIndicatorOn(newAutoCorrectionIndicator);
|
||||
if (DEBUG) {
|
||||
Log.d(TAG, "Flip the indicator. " + oldAutoCorrectionIndicator
|
||||
+ " -> " + newAutoCorrectionIndicator);
|
||||
}
|
||||
if (mWordComposer.isComposingWord()) {
|
||||
mIsAutoCorrectionIndicatorOn = newAutoCorrectionIndicator;
|
||||
final CharSequence textWithUnderline =
|
||||
|
|
Loading…
Reference in New Issue