mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-01 12:05:37 +02:00
Remove wrongly added return statement
This commit is contained in:
parent
6e2f7e01fc
commit
00298cc5a0
@ -797,7 +797,6 @@ public class DeviceCommunicationService extends Service implements SharedPrefere
|
|||||||
removeDeviceSupport(device);
|
removeDeviceSupport(device);
|
||||||
} catch (DeviceNotFoundException e) {
|
} catch (DeviceNotFoundException e) {
|
||||||
LOG.error("Trying to disconnect unknown device: ", e);
|
LOG.error("Trying to disconnect unknown device: ", e);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
device.setState(GBDevice.State.NOT_CONNECTED);
|
device.setState(GBDevice.State.NOT_CONNECTED);
|
||||||
device.sendDeviceUpdateIntent(this);
|
device.sendDeviceUpdateIntent(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user