2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

error -> warning for some logs

This commit is contained in:
Albert Vaca 2016-06-21 13:38:21 +02:00
parent 968d018f41
commit f6c4084746

View File

@ -574,7 +574,7 @@ public class Device implements BaseLink.PackageReceiver {
} }
} }
} else { } else {
Log.e("Device", "Ignoring packet with type " + np.getType() + " because no plugin can handle it"); Log.w("Device", "Ignoring packet with type " + np.getType() + " because no plugin can handle it");
} }
} else { } else {
@ -644,7 +644,7 @@ public class Device implements BaseLink.PackageReceiver {
if (protocolVersion >= MIN_VERSION_WITH_CAPPABILITIES_SUPPORT && !supportedOutgoingInterfaces.contains(np.getType()) && !NetworkPackage.protocolPackageTypes.contains(np.getType())) { if (protocolVersion >= MIN_VERSION_WITH_CAPPABILITIES_SUPPORT && !supportedOutgoingInterfaces.contains(np.getType()) && !NetworkPackage.protocolPackageTypes.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.w("Device/sendPackage", "Supported package types: " + Arrays.toString(supportedOutgoingInterfaces.toArray()));
} }
//Log.e("sendPackage", "Sending package..."); //Log.e("sendPackage", "Sending package...");