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

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

Optimization

Avoid doing some useless processing.

Change-Id: I4ce0a188e10db30322bd25751dc5c09492cea301
parent 7204eab3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1742,9 +1742,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
                        throw new RuntimeException("Couldn't flip the indicator!");
                    }
                }
                if (mWordComposer.isComposingWord()) {
                    final CharSequence textWithUnderline =
                            getTextWithUnderline(mWordComposer.getTypedWord());
                if (!TextUtils.isEmpty(textWithUnderline)) {
                    ic.setComposingText(textWithUnderline, 1);
                }
            }