Minor cleanups.

This commit is contained in:
Johannes Mockenhaupt 2017-12-27 21:16:03 +01:00
parent 0e61032dec
commit f970e5e20e
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
3 changed files with 2 additions and 10 deletions

View file

@ -477,7 +477,7 @@ public class ComboPlugin implements PluginBase, PumpInterface, ConstraintsInterf
return new PumpEnactResult().success(true).enacted(false);
}
BolusProgressReporter progressReporter = detailedBolusInfo.isSMB ? nullBolusProgressReporter : ComboPlugin.bolusProgressReporter;
BolusProgressReporter progressReporter = detailedBolusInfo.isSMB ? nullBolusProgressReporter : bolusProgressReporter;
// start bolus delivery
bolusInProgress = true;

View file

@ -1,10 +1,3 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.jotomo.ruffy">
<!--<application android:allowBackup="true" android:label="ruffy-spi"-->
<!--android:supportsRtl="true">-->
<!--</application>-->
</manifest>

View file

@ -7,8 +7,7 @@ public interface BolusProgressReporter {
DELIVERED,
STOPPING,
STOPPED,
RECOVERING,
FINISHED
RECOVERING
}
void report(State state, int percent, double delivered);