Avoid warning in unsetDynamicState()

This commit is contained in:
cpfeiffer 2015-06-06 23:13:26 +02:00
parent 020d8d74d6
commit 3fe9195d0d
1 changed files with 3 additions and 1 deletions

View File

@ -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) {