Avoid warning in unsetDynamicState()
This commit is contained in:
parent
020d8d74d6
commit
3fe9195d0d
|
@ -172,8 +172,10 @@ public class GBDevice implements Parcelable {
|
|||
setBatteryState(null);
|
||||
setFirmwareVersion(null);
|
||||
setRssi(RSSI_UNKNOWN);
|
||||
if (mBusyTask != null) {
|
||||
unsetBusyTask();
|
||||
}
|
||||
}
|
||||
|
||||
public String getStateString() {
|
||||
switch (mState) {
|
||||
|
|
Loading…
Reference in New Issue