2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 06:05:12 +00:00

These logs are useless if we have no capabilities

This commit is contained in:
Albert Vaca
2016-06-02 16:14:52 +02:00
parent 53ca2a392c
commit e433ad8bce

View File

@@ -643,7 +643,7 @@ public class Device implements BaseLink.PackageReceiver {
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", "Supported package types: " + Arrays.toString(supportedOutgoingInterfaces.toArray()));
}