From 9b45c6b291d7a8c6fb02591118c149fd6754bf94 Mon Sep 17 00:00:00 2001 From: TebbeUbben Date: Thu, 31 Jan 2019 13:09:40 +0100 Subject: [PATCH] Only enable Insight driver in engineering mode --- app/src/main/java/info/nightscout/androidaps/MainApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/MainApp.java b/app/src/main/java/info/nightscout/androidaps/MainApp.java index 819fc11146..a2a3a4ea11 100644 --- a/app/src/main/java/info/nightscout/androidaps/MainApp.java +++ b/app/src/main/java/info/nightscout/androidaps/MainApp.java @@ -158,7 +158,7 @@ public class MainApp extends Application { if (Config.PUMPDRIVERS) pluginsList.add(DanaRKoreanPlugin.getPlugin()); if (Config.PUMPDRIVERS) pluginsList.add(DanaRv2Plugin.getPlugin()); if (Config.PUMPDRIVERS) pluginsList.add(DanaRSPlugin.getPlugin()); - if (Config.PUMPDRIVERS) pluginsList.add(LocalInsightPlugin.getInstance()); + if (Config.PUMPDRIVERS && engineeringMode) pluginsList.add(LocalInsightPlugin.getInstance()); pluginsList.add(CareportalPlugin.getPlugin()); /*if (Config.PUMPDRIVERS && engineeringMode) pluginsList.add(InsightPlugin.getPlugin());*/