From d114be734448cfbabadc7e6afe3a934dba84fbef Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Tue, 5 May 2020 22:43:26 +0200 Subject: [PATCH] revert debug code --- .../nightscout/androidaps/plugins/source/RandomBgPlugin.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/source/RandomBgPlugin.kt b/app/src/main/java/info/nightscout/androidaps/plugins/source/RandomBgPlugin.kt index 8b4e2e54a2..bb008b383b 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/source/RandomBgPlugin.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/source/RandomBgPlugin.kt @@ -67,11 +67,11 @@ class RandomBgPlugin @Inject constructor( super.onStop() loopHandler.removeCallbacks(refreshLoop) } -/* + override fun specialEnableCondition(): Boolean { return isRunningTest() || virtualPumpPlugin.isEnabled(PluginType.PUMP) && buildHelper.isEngineeringMode() } -*/ + override fun handleNewData(intent: Intent) { if (!isEnabled(PluginType.BGSOURCE)) return val min = 70