2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

Don't log an empty list

This commit is contained in:
Albert Vaca
2016-06-06 18:05:48 +02:00
parent 113739e1d9
commit 8c86edcf33

View File

@@ -865,7 +865,9 @@ public class Device implements BaseLink.PackageReceiver {
supportedOutgoingInterfaces = newSupportedOutgoingInterfaces;
unsupportedPlugins = newUnsupportedPlugins;
Log.i("ReloadPlugins", "not loading " + Arrays.toString(unsupportedPlugins.toArray()) + " because of unmatched capabilities");
if (!unsupportedPlugins.isEmpty()) {
Log.i("ReloadPlugins", "not loading " + Arrays.toString(unsupportedPlugins.toArray()) + " because of unmatched capabilities");
}
onPluginsChanged();