diff --git a/app/src/main/java/info/nightscout/androidaps/receivers/KeepAliveReceiver.java b/app/src/main/java/info/nightscout/androidaps/receivers/KeepAliveReceiver.java index f08e4879f4..90511d6ac5 100644 --- a/app/src/main/java/info/nightscout/androidaps/receivers/KeepAliveReceiver.java +++ b/app/src/main/java/info/nightscout/androidaps/receivers/KeepAliveReceiver.java @@ -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(); } }