2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 06:05:12 +00:00

Fix loosing already known plugins on reloading

REVIEW: 126273
This commit is contained in:
Holger Kaelberer
2016-01-05 20:35:52 +01:00
parent 2b89c0ed15
commit 8e990765da

View File

@@ -699,7 +699,7 @@ public class Device implements BaseLink.PackageReceiver {
Plugin existing = plugins.get(pluginKey);
if (existing != null) {
//Log.w("KDE/addPlugin","plugin already present:" + pluginKey);
return false;
return true;
}
final Plugin plugin = PluginFactory.instantiatePluginForDevice(context, pluginKey, this);