mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-16 15:02:48 +00:00
small adjustments after #691
This commit is contained in:
parent
83fc10ff02
commit
edd4ae2c68
6 changed files with 8 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue