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…
Reference in New Issue