2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-05 08:35:10 +00:00

Log when sending a package type that no plugin has declared

This commit is contained in:
Albert Vaca
2016-06-02 15:23:34 +02:00
parent 43467aedd8
commit d7956650da

View File

@@ -642,6 +642,11 @@ public class Device implements BaseLink.PackageReceiver {
hackToMakeRetrocompatiblePacketTypes(np);
if (!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()));
}
//Log.e("sendPackage", "Sending package...");
//Log.e("sendPackage", np.serialize());