The default code used by Android Studio when generating a
try/catch can be altered in Settings under
Editor->File and Code Templates->Catch Statement body
to
log.error("Unhandled exception", e);
to also do this for newly generated code.
(cherry picked from commit c2ae29f)
(cherry picked from commit 6031a25)
This assumes that a default is not useful, as it needs to be decided
whether this is needed on each case (using tt when bolusing to
start eating soon, but not using it when bolusing for the meal
at the end of a tt).
Inputs all steps at once, including 'alignment' step, thereby removing a wait
between the initial step and subsequent step where a bad timing could
break the command.
* just-a-flesh-wound: (50 commits)
Small refactoring.
Restore bolus splitting hack.
Make new BolusCommand configurable.
Report bolus delivered if the pump raised a warning/error during delivery.
Cleanup merge.
Restore bolus comands alongside.
Merge fixes without changes to behaviour.
Try to be clever about slow screen updates when scrolling.
Revert "Try building against ruffy stable, 8dae0c0fedd5e371e85da3433a07aaab27b05db0"
Try building against ruffy stable, 8dae0c0fedd5e371e85da3433a07aaab27b05db0
Workaound for #27 (TBR issued twice).
Revert "Retry with current ruffy."
Retry with current ruffy.
Remove code to determine pump capabilities for the time being.
Don't provide status JSON until we can provide it properly.
ComboPlugin: don't implement ConstraintsInterface, ProfileInterface.
Use string resource.
Cleanup.
Only display Extended Bolus tab in Treatments if pump supports them.
Build against ruffy b916a900c0899ef58ad58c7427d1c30d3c8731f4.
...
Most likely this is due to a low cartridge warning, but might also be an occlusion alert.
This lets the alarm ring and asks the user to check it. The treatment is also recorded in
the db as enacted.
(cherry picked from commit 6cc017a)