2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-28 12:47:43 +00:00

Don't return an empty list of supported plugins

If we don't know it yet return them all.
This commit is contained in:
Albert Vaca 2016-09-06 00:47:59 +02:00
parent e9a64dc99a
commit 901440f78a

View File

@ -146,6 +146,9 @@ public class Device implements BaseLink.PackageReceiver {
Log.e("KDE/Device","Exception deserializing stored public key for device");
}
//Assume every plugin is supported until addLink is called and we can get the actual list
m_supportedPlugins = new Vector<>(PluginFactory.getAvailablePlugins());
//Do not load plugins yet, the device is not present
//reloadPluginsFromSettings();
}