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