From 3175fbef31feb9e6358dd4835d28527c9ac55962 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Tue, 8 Dec 2020 18:21:52 +0100 Subject: [PATCH] fix NSClient mode --- .../java/info/nightscout/androidaps/services/DataService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/services/DataService.java b/app/src/main/java/info/nightscout/androidaps/services/DataService.java index 3ada48f073..9cd32f063f 100644 --- a/app/src/main/java/info/nightscout/androidaps/services/DataService.java +++ b/app/src/main/java/info/nightscout/androidaps/services/DataService.java @@ -69,7 +69,7 @@ public class DataService extends DaggerIntentService { aapsLogger.debug(LTag.DATASERVICE, "onHandleIntent " + BundleLogger.log(intent.getExtras())); - boolean acceptNSData = !sp.getBoolean(R.string.key_ns_upload_only, true); + boolean acceptNSData = !sp.getBoolean(R.string.key_ns_upload_only, true) || config.getNSCLIENT(); final String action = intent.getAction(); if (Intents.ACTION_NEW_BG_ESTIMATE.equals(action)) {