mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 13:17:43 +00:00
fix: change clipboard content when content is really in NetworkPacket
This commit is contained in:
parent
eed7cad329
commit
91867481a8
@ -77,7 +77,9 @@ public class ClipboardPlugin extends Plugin {
|
||||
return false;
|
||||
}
|
||||
|
||||
ClipboardListener.instance(context).setText(content);
|
||||
if (np.has("content")) { // change clipboard if content is in NetworkPacket
|
||||
ClipboardListener.instance(context).setText(content);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new UnsupportedOperationException("Unknown packet type: " + np.getType());
|
||||
|
Loading…
x
Reference in New Issue
Block a user