broadcast danar timeout too

This commit is contained in:
Milos Kozak 2016-07-20 12:09:03 +02:00
parent 788289c757
commit 5e6b77ec02

View file

@ -188,6 +188,7 @@ public class ExecutionService extends Service {
MainApp.bus().post(new EventDanaRConnectionStatus(EventDanaRConnectionStatus.CONNECTED, 0)); MainApp.bus().post(new EventDanaRConnectionStatus(EventDanaRConnectionStatus.CONNECTED, 0));
getPumpStatus(); getPumpStatus();
} else { } else {
MainApp.bus().post(new EventDanaRConnectionStatus(EventDanaRConnectionStatus.DISCONNECTED, 0));
log.error("Pump connection timed out"); log.error("Pump connection timed out");
} }
mWakeLock.release(); mWakeLock.release();