status outdated first
This commit is contained in:
parent
c48e147a68
commit
ed29302547
1 changed files with 8 additions and 8 deletions
|
@ -58,14 +58,6 @@ public class KeepAliveReceiver extends BroadcastReceiver {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
t.start();
|
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) {
|
} else if (isStatusOutdated) {
|
||||||
Thread t = new Thread(new Runnable() {
|
Thread t = new Thread(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -74,6 +66,14 @@ public class KeepAliveReceiver extends BroadcastReceiver {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
t.start();
|
t.start();
|
||||||
|
} else if (isBasalOutdated) {
|
||||||
|
Thread t = new Thread(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
pump.updateStatus("KeepAlive. Basal outdated.");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
t.start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue