2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-29 13:17:43 +00:00

Fix lost packets after connecting

This commit is contained in:
Nicolas Fella 2019-03-21 16:36:00 +00:00
parent 0453728407
commit d03520ce70

View File

@ -565,6 +565,11 @@ public class Device implements BaseLink.PacketReceiver {
}
} else if (isPaired()) {
// pluginsByIncomingInterface may not be built yet
if(pluginsByIncomingInterface.isEmpty()) {
reloadPluginsFromSettings();
}
//If capabilities are not supported, iterate all plugins
Collection<String> targetPlugins = pluginsByIncomingInterface.get(np.getType());
if (targetPlugins != null && !targetPlugins.isEmpty()) {