From 13f2fce31e2c670650b30cc0e8945fcda54b8a7a Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Tue, 27 Dec 2016 18:47:48 +0100 Subject: [PATCH] product flavors dimensions update --- app/build.gradle | 28 +++++++++++----------------- wear/wear.iml | 30 +++++++++++++++--------------- 2 files changed, 26 insertions(+), 32 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 9e082557be..21b5236a26 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -57,48 +57,42 @@ android { } } productFlavors { - flavorDimensions "standard", "wear" - full { - dimension "standard" - buildConfigField "boolean", "APS", "true" - buildConfigField "boolean", "PUMPDRIVERS", "true" - buildConfigField "boolean", "CLOSEDLOOP", "true" + flavorDimensions "standard", "limits", "wear" + adult { + dimension "limits" buildConfigField "int", "MAXBOLUS", "17" } - fullteenage { - dimension "standard" - buildConfigField "boolean", "APS", "true" - buildConfigField "boolean", "PUMPDRIVERS", "true" - buildConfigField "boolean", "CLOSEDLOOP", "true" + teenage { + dimension "limits" buildConfigField "int", "MAXBOLUS", "10" } - fullchild { + child { + dimension "limits" + buildConfigField "int", "MAXBOLUS", "5" + } + full { dimension "standard" buildConfigField "boolean", "APS", "true" buildConfigField "boolean", "PUMPDRIVERS", "true" buildConfigField "boolean", "CLOSEDLOOP", "true" - buildConfigField "int", "MAXBOLUS", "5" } - danarcontrol { + pumpcontrol { dimension "standard" buildConfigField "boolean", "APS", "false" buildConfigField "boolean", "PUMPDRIVERS", "true" buildConfigField "boolean", "CLOSEDLOOP", "false" - buildConfigField "int", "MAXBOLUS", "17" } careportal { dimension "standard" buildConfigField "boolean", "APS", "false" buildConfigField "boolean", "PUMPDRIVERS", "false" buildConfigField "boolean", "CLOSEDLOOP", "false" - buildConfigField "int", "MAXBOLUS", "17" } openloop { dimension "standard" buildConfigField "boolean", "APS", "true" buildConfigField "boolean", "PUMPDRIVERS", "true" buildConfigField "boolean", "CLOSEDLOOP", "false" - buildConfigField "int", "MAXBOLUS", "17" } wear { dimension "wear" diff --git a/wear/wear.iml b/wear/wear.iml index f368e9add6..008bad09ce 100644 --- a/wear/wear.iml +++ b/wear/wear.iml @@ -43,13 +43,6 @@ - - - - - - - @@ -58,6 +51,13 @@ + + + + + + + @@ -66,14 +66,6 @@ - - - - - - - - @@ -82,6 +74,14 @@ + + + + + + + +