Small cleanup
All calls to this method are done with the same parameter, and it's really hard to understand if we call upon this member inside. Change-Id: I787664bb59053ab0fe666ed812fb12b2b9090918main
parent
61b31a646e
commit
fda847a870
|
@ -1622,7 +1622,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
private CharSequence getTextWithUnderline(final CharSequence text) {
|
private CharSequence getTextWithUnderline(final CharSequence text) {
|
||||||
return mComposingStateManager.isAutoCorrectionIndicatorOn()
|
return mComposingStateManager.isAutoCorrectionIndicatorOn()
|
||||||
? SuggestionSpanUtils.getTextWithAutoCorrectionIndicatorUnderline(this, text)
|
? SuggestionSpanUtils.getTextWithAutoCorrectionIndicatorUnderline(this, text)
|
||||||
: mWordComposer.getTypedWord();
|
: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void handleClose() {
|
private void handleClose() {
|
||||||
|
|
Loading…
Reference in New Issue