From ed293025474aaa8b1e81d6b19113a01d0a5dc91a Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 29 Jan 2017 11:24:11 +0100 Subject: [PATCH] status outdated first --- .../androidaps/receivers/KeepAliveReceiver.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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(); } }