wearwizard ensure watch apk is up to date
This commit is contained in:
parent
ec106726a7
commit
bdfce784c0
2 changed files with 4 additions and 1 deletions
|
@ -180,6 +180,9 @@ public class ActionStringHandler {
|
|||
}
|
||||
|
||||
} else if ("wizard".equals(act[0])) {
|
||||
sendError("Update APP on Watch!");
|
||||
return;
|
||||
} else if ("wizard2".equals(act[0])) {
|
||||
////////////////////////////////////////////// WIZARD
|
||||
Integer carbsBeforeConstraints = SafeParse.stringToInt(act[1]);
|
||||
Integer carbsAfterConstraints = MainApp.getConstraintChecker().applyCarbsConstraints(new Constraint<>(carbsBeforeConstraints)).value();
|
||||
|
|
|
@ -184,7 +184,7 @@ public class WizardActivity extends ViewSelectorActivity {
|
|||
|
||||
if (editPercentage != null) percentage = SafeParse.stringToInt(editPercentage.editText.getText().toString());
|
||||
|
||||
String actionstring = "wizard " + SafeParse.stringToInt(editCarbs.editText.getText().toString())
|
||||
String actionstring = "wizard2 " + SafeParse.stringToInt(editCarbs.editText.getText().toString())
|
||||
+ " " + useBG
|
||||
+ " " + includeBolusIOB
|
||||
+ " " + includeBasalIOB
|
||||
|
|
Loading…
Reference in a new issue