From e17d10f25854165fe778e282cf0251df5e04a34b Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Wed, 15 Apr 2020 00:02:50 +0200 Subject: [PATCH 1/3] InsightAlertservice: handle nullable intent. --- .../plugins/pump/insight/InsightAlertService.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/insight/InsightAlertService.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/insight/InsightAlertService.java index 4a543f27c5..53636ef88f 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/insight/InsightAlertService.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/insight/InsightAlertService.java @@ -104,8 +104,10 @@ public class InsightAlertService extends Service implements InsightConnectionSer } @Override - public int onStartCommand(Intent intent, int flags, int startId) { - if ("mute".equals(intent.getStringExtra("command"))) { + public int onStartCommand(@Nullable Intent intent, int flags, int startId) { + if (intent == null) { + // service is being restarted + } else if ("mute".equals(intent.getStringExtra("command"))) { mute(); } else if ("confirm".equals(intent.getStringExtra("command"))) { dismissNotification(); From 7479218e31c89bb53c7e214ed4ff0ae01ce26a53 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 19 Apr 2020 13:06:02 +0200 Subject: [PATCH 2/3] New Crowdin translations (#2556) * New translations strings.xml (Swedish) * New translations strings.xml (Dutch) * New translations strings.xml (Portuguese) --- app/src/main/res/values-nl-rNL/strings.xml | 3 ++- app/src/main/res/values-pt-rPT/strings.xml | 2 +- app/src/main/res/values-sv-rSE/strings.xml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/values-nl-rNL/strings.xml b/app/src/main/res/values-nl-rNL/strings.xml index b7b391a804..1b5471220e 100644 --- a/app/src/main/res/values-nl-rNL/strings.xml +++ b/app/src/main/res/values-nl-rNL/strings.xml @@ -544,7 +544,7 @@ Log app start naar NS Sluiten van applicatie om instellingen bij te werken. DanaRv2 - Insuline curve + Insuline Welk soort insuline gebruik je? Snel werkende insuline Novorapid, Novolog, Humalog @@ -1453,4 +1453,5 @@ SMB uitvoeringstijd Tijdelijk basaal aanvraag tijd Tijdelijke basaal uitvoering tijd + Insight pomp waarschuwingen diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 1990230176..d43b4d2e8d 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -315,7 +315,7 @@ Parar STOP PRESSIONADO À espera da bomba - Vão ser administradas %1$.2fU + Vai ser administrada %1$.2fU Atingiu o limite autorizado Nenhum perfil seleccionado Loop foi desactivado diff --git a/app/src/main/res/values-sv-rSE/strings.xml b/app/src/main/res/values-sv-rSE/strings.xml index 4fada83e89..54daf00aad 100644 --- a/app/src/main/res/values-sv-rSE/strings.xml +++ b/app/src/main/res/values-sv-rSE/strings.xml @@ -319,7 +319,7 @@ Eversense-appen. Kommer att leverera %1$.2f enheter Du har nått din tillåtna gräns Ingen profil vald - Loop stängdes av + Loop stängdes av. Loop aktiverades Loop är avstängd Loop är aktiverad @@ -537,7 +537,7 @@ Eversense-appen. Återuppta Återanslut Pump Fel duration - Loop pausad + Loop pausad. Loop återupptagen 15 min trend COB From 023992fc9a6677514fdfd71c68c878644dab939a Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 19 Apr 2020 13:07:51 +0200 Subject: [PATCH 3/3] bump 2.6.1.2 --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 9add15b6d6..38457916a4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -109,7 +109,7 @@ android { targetSdkVersion 28 multiDexEnabled true versionCode 1500 - version "2.6.1-dev" + version "2.6.1.2" buildConfigField "String", "VERSION", '"' + version + '"' buildConfigField "String", "BUILDVERSION", '"' + generateGitBuild() + '-' + generateDate() + '"' buildConfigField "String", "REMOTE", '"' + generateGitRemote() + '"'