status outdated first

This commit is contained in:
Milos Kozak 2017-01-29 11:24:11 +01:00
parent c48e147a68
commit ed29302547

View file

@ -58,14 +58,6 @@ public class KeepAliveReceiver extends BroadcastReceiver {
}
});
t.start();
} else if (isBasalOutdated) {
Thread t = new Thread(new Runnable() {
@Override
public void run() {
pump.updateStatus("KeepAlive. Basal outdated.");
}
});
t.start();
} else if (isStatusOutdated) {
Thread t = new Thread(new Runnable() {
@Override
@ -74,6 +66,14 @@ public class KeepAliveReceiver extends BroadcastReceiver {
}
});
t.start();
} else if (isBasalOutdated) {
Thread t = new Thread(new Runnable() {
@Override
public void run() {
pump.updateStatus("KeepAlive. Basal outdated.");
}
});
t.start();
}
}