Optimization
Avoid doing some useless processing. Change-Id: I4ce0a188e10db30322bd25751dc5c09492cea301
This commit is contained in:
parent
7204eab3da
commit
e2a50bd804
1 changed files with 3 additions and 3 deletions
|
@ -1742,9 +1742,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||
throw new RuntimeException("Couldn't flip the indicator!");
|
||||
}
|
||||
}
|
||||
final CharSequence textWithUnderline =
|
||||
getTextWithUnderline(mWordComposer.getTypedWord());
|
||||
if (!TextUtils.isEmpty(textWithUnderline)) {
|
||||
if (mWordComposer.isComposingWord()) {
|
||||
final CharSequence textWithUnderline =
|
||||
getTextWithUnderline(mWordComposer.getTypedWord());
|
||||
ic.setComposingText(textWithUnderline, 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue