From 7d2e364c7795fb3306af2580e8b5b4551507b01e Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Fri, 19 Mar 2021 21:32:12 +0100 Subject: [PATCH] use UploadQueue through interface --- .idea/codeStyles/Project.xml | 16 +++++++++++++++ .../dependencyInjection/AppModule.kt | 18 ++++++++++++++--- .../historyBrowser/TreatmentsPluginHistory.kt | 4 ++-- .../general/nsclient/NSClientFragment.java | 3 ++- .../plugins/general/nsclient/UploadQueue.java | 17 ++++++++-------- .../nsclient/services/NSClientService.java | 20 +++++++++---------- .../plugins/treatments/TreatmentsPlugin.java | 8 ++++---- .../fragments/TreatmentsBolusFragment.kt | 8 ++++---- .../fragments/TreatmentsCareportalFragment.kt | 8 ++++---- .../TreatmentsExtendedBolusesFragment.kt | 6 +++--- .../TreatmentsProfileSwitchFragment.kt | 6 +++--- .../fragments/TreatmentsTempTargetFragment.kt | 6 +++--- .../androidaps/utils/stats/TddCalculator.kt | 4 ++-- .../interfaces/ConstraintsCheckerTest.kt | 3 +-- .../treatments/TreatmentsPluginTest.kt | 4 ++-- .../interfaces/UploadQueueAdminInterface.kt | 6 ++++++ .../interfaces/UploadQueueInterface.java | 11 +++++++++- .../pump/insight/LocalInsightPlugin.java | 4 ++-- 18 files changed, 98 insertions(+), 54 deletions(-) create mode 100644 core/src/main/java/info/nightscout/androidaps/interfaces/UploadQueueAdminInterface.kt diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index ff53f4004f..3542887fac 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -2,6 +2,22 @@