Commit 0b3bbda6 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Replace lambda with method ref

parent 2a32eb4b
......@@ -94,7 +94,7 @@ public class DeviceSettingsFragment extends PreferenceFragmentCompat {
final Device device = service.getDevice(deviceId);
if (device == null) {
final FragmentActivity activity = requireActivity();
activity.runOnUiThread(() -> activity.finish());
activity.runOnUiThread(activity::finish);
return;
}
List<String> plugins = device.getSupportedPlugins();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment