mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 14:15:14 +00:00
Inline more variables
Reviewers: #kde_connect, mtijink Reviewed By: #kde_connect, mtijink Subscribers: #kde_connect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D10945
This commit is contained in:
@@ -795,8 +795,7 @@ public class Device implements BaseLink.PackageReceiver {
|
||||
|
||||
public boolean isPluginEnabled(String pluginKey) {
|
||||
boolean enabledByDefault = PluginFactory.getPluginInfo(context, pluginKey).isEnabledByDefault();
|
||||
boolean enabled = settings.getBoolean(pluginKey, enabledByDefault);
|
||||
return enabled;
|
||||
return settings.getBoolean(pluginKey, enabledByDefault);
|
||||
}
|
||||
|
||||
public void reloadPluginsFromSettings() {
|
||||
|
Reference in New Issue
Block a user