diff --git a/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java b/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java index d97b8f3f..f3a7cde3 100644 --- a/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java +++ b/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java @@ -130,10 +130,6 @@ public class DeviceFragment extends Fragment { refreshUI(); - //TODO: Is this needed? - //if (!device.hasPluginsLoaded() && device.isReachable()) { - // device.reloadPluginsFromSettings(); - //} } }); @@ -296,21 +292,6 @@ public class DeviceFragment extends Fragment { public void onResume() { super.onResume(); - //TODO: Is this needed? - /* - BackgroundService.RunCommand(mActivity, new BackgroundService.InstanceCallback() { - @Override - public void onServiceStart(BackgroundService service) { - if (mDeviceId != null) { - Device device = service.getDevice(mDeviceId); - if (device != null && device.isReachable()) { - device.reloadPluginsFromSettings(); - } - } - } - }); - */ - getView().setFocusableInTouchMode(true); getView().requestFocus(); getView().setOnKeyListener(new View.OnKeyListener() {