2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

Fixed DeviceFragment not loading the latest plugins list when displayed

This commit is contained in:
Albert Vaca 2015-09-04 06:05:21 -07:00
parent c535637b45
commit 405dc258db

View File

@ -269,4 +269,17 @@ public class DeviceFragment extends Fragment {
}
@Override
public void onResume() {
super.onResume();
BackgroundService.RunCommand(mActivity, new BackgroundService.InstanceCallback() {
@Override
public void onServiceStart(BackgroundService service) {
if (mDeviceId != null) {
Device device = service.getDevice(mDeviceId);
device.reloadPluginsFromSettings();
}
}
});
}
}