mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 21:55:10 +00:00
Looks like it's not
This commit is contained in:
@@ -130,10 +130,6 @@ public class DeviceFragment extends Fragment {
|
|||||||
|
|
||||||
refreshUI();
|
refreshUI();
|
||||||
|
|
||||||
//TODO: Is this needed?
|
|
||||||
//if (!device.hasPluginsLoaded() && device.isReachable()) {
|
|
||||||
// device.reloadPluginsFromSettings();
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -296,21 +292,6 @@ public class DeviceFragment extends Fragment {
|
|||||||
public void onResume() {
|
public void onResume() {
|
||||||
super.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().setFocusableInTouchMode(true);
|
||||||
getView().requestFocus();
|
getView().requestFocus();
|
||||||
getView().setOnKeyListener(new View.OnKeyListener() {
|
getView().setOnKeyListener(new View.OnKeyListener() {
|
||||||
|
Reference in New Issue
Block a user