diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.java
index d1997ec3d3..e255779fac 100644
--- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.java
+++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.java
@@ -83,6 +83,11 @@ public class MedtronicHistoryData {
private long lastIdUsed = 0;
+ /**
+ * Double bolus debug. We seem to have small problem with double Boluses (or sometimes also missing boluses
+ * from history. This flag turns on debugging for that (default is off=false)... Debuging is pretty detailed,
+ * so log files will get bigger.
+ */
public static boolean doubleBolusDebug = true;
@@ -1290,8 +1295,6 @@ public class MedtronicHistoryData {
}
}
- //LocalDateTime oldestEntryTime = null;
-
if (doubleBolusDebug)
LOG.debug("DoubleBolusDebug: getOldestTimestamp. Oldest entry found: time={}, object={}", dt, currentTreatment);
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 0ad824ddea..acaa1019de 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -99,7 +99,7 @@
- @string/use_gps_location
-
+
- PASSIVE
- NETWORK
- GPS
@@ -151,7 +151,7 @@
- @string/medtronic_pump_frequency_worldwide
-
+
- @string/key_medtronic_pump_frequency_us_ca
- @string/key_medtronic_pump_frequency_worldwide
@@ -167,6 +167,11 @@
- @string/medtronic_pump_encoding_4b6b_rileylink
+
+ - @string/common_on
+ - @string/common_off
+
+
- @string/key_medtronic_pump_encoding_4b6b_local
- @string/key_medtronic_pump_encoding_4b6b_rileylink
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 520b560c9d..3a4e43e6e1 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -4,15 +4,15 @@
Afrikaans
Bulgarian
Dutch
-
+
French
German
Greek
-
+
Chinese
-
+
Italian
-
+
Korean
Lithuanian
Polish
@@ -1451,6 +1451,7 @@
Not selected (Simple view)
Alkaline (Extended view)
Lithium (Extended view)
+ Bolus/Treatments Debugging
SCAN
@@ -1608,5 +1609,7 @@
min
wizard_calculation_visible
%1$dg
+ On
+ Off
diff --git a/app/src/main/res/xml/pref_medtronic.xml b/app/src/main/res/xml/pref_medtronic.xml
index 603d3873f8..a38cc22923 100644
--- a/app/src/main/res/xml/pref_medtronic.xml
+++ b/app/src/main/res/xml/pref_medtronic.xml
@@ -60,6 +60,14 @@
android:selectable="true"
android:title="@string/medtronic_pump_encoding" />
+
+