mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-03 17:02:13 +01:00
Avoid warning in unsetDynamicState()
This commit is contained in:
parent
020d8d74d6
commit
3fe9195d0d
@ -172,8 +172,10 @@ public class GBDevice implements Parcelable {
|
|||||||
setBatteryState(null);
|
setBatteryState(null);
|
||||||
setFirmwareVersion(null);
|
setFirmwareVersion(null);
|
||||||
setRssi(RSSI_UNKNOWN);
|
setRssi(RSSI_UNKNOWN);
|
||||||
|
if (mBusyTask != null) {
|
||||||
unsetBusyTask();
|
unsetBusyTask();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public String getStateString() {
|
public String getStateString() {
|
||||||
switch (mState) {
|
switch (mState) {
|
||||||
|
Loading…
Reference in New Issue
Block a user