diff --git a/src/org/kde/kdeconnect/Device.java b/src/org/kde/kdeconnect/Device.java index 78dfa51a..c810d177 100644 --- a/src/org/kde/kdeconnect/Device.java +++ b/src/org/kde/kdeconnect/Device.java @@ -97,7 +97,11 @@ public class Device implements BaseLink.PacketReceiver { private Set incomingCapabilities = new HashSet<>(); public boolean supportsPacketType(String type) { - return incomingCapabilities.contains(type); + if (incomingCapabilities == null) { + return true; + } else { + return incomingCapabilities.contains(type); + } } public interface PluginsChangedListener {