mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-26 17:47:34 +01:00
Avoid warning in unsetDynamicState()
This commit is contained in:
parent
020d8d74d6
commit
3fe9195d0d
@ -172,7 +172,9 @@ public class GBDevice implements Parcelable {
|
||||
setBatteryState(null);
|
||||
setFirmwareVersion(null);
|
||||
setRssi(RSSI_UNKNOWN);
|
||||
unsetBusyTask();
|
||||
if (mBusyTask != null) {
|
||||
unsetBusyTask();
|
||||
}
|
||||
}
|
||||
|
||||
public String getStateString() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user