From 0e3b5af6bc0a2933ca9c7d469c347eb0da45a632 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sat, 18 Feb 2017 17:40:14 +0100 Subject: [PATCH] Looks like it's not --- .../UserInterface/DeviceFragment.java | 19 ------------------- 1 file changed, 19 deletions(-) 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() {