mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-03 15:45:10 +00:00
These logs are useless if we have no capabilities
This commit is contained in:
@@ -643,7 +643,7 @@ public class Device implements BaseLink.PackageReceiver {
|
|||||||
|
|
||||||
hackToMakeRetrocompatiblePacketTypes(np);
|
hackToMakeRetrocompatiblePacketTypes(np);
|
||||||
|
|
||||||
if (!supportedOutgoingInterfaces.contains(np.getType())) {
|
if (protocolVersion >= 6 && !supportedOutgoingInterfaces.contains(np.getType())) {
|
||||||
Log.e("Device/sendPackage", "Plugin tried to send an unsupported package: " + np.getType());
|
Log.e("Device/sendPackage", "Plugin tried to send an unsupported package: " + np.getType());
|
||||||
Log.e("Device/sendPackage", "Supported package types: " + Arrays.toString(supportedOutgoingInterfaces.toArray()));
|
Log.e("Device/sendPackage", "Supported package types: " + Arrays.toString(supportedOutgoingInterfaces.toArray()));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user