mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-07 01:25:09 +00:00
Using capabilities, packages no longer need to validate received packages
This commit is contained in:
@@ -82,7 +82,6 @@ public class RunCommandPlugin extends Plugin {
|
||||
|
||||
@Override
|
||||
public boolean onPackageReceived(NetworkPackage np) {
|
||||
if (!np.getType().equals(PACKAGE_TYPE_RUNCOMMAND)) return false;
|
||||
|
||||
if (np.has("commandList")) {
|
||||
commandList.clear();
|
||||
|
Reference in New Issue
Block a user