small adjustments after #691

This commit is contained in:
Helium314 2024-05-01 22:59:16 +02:00
parent 83fc10ff02
commit edd4ae2c68
6 changed files with 8 additions and 10 deletions

View file

@ -654,7 +654,7 @@ public final class RichInputConnection implements PrivateCommandPerformer {
}
public void copyText(final boolean getSelection) {
CharSequence text = "";
CharSequence text = null;
if (getSelection) {
// copy selected text, and if nothing is selected copy the whole text
text = getSelectedText(InputConnection.GET_TEXT_WITH_STYLES);