mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Optimization
Avoid doing some useless processing. Change-Id: I4ce0a188e10db30322bd25751dc5c09492cea301
This commit is contained in:
parent
7204eab3da
commit
e2a50bd804
@ -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 New Issue
Block a user