From db1f9366aa7c250cc33a8ace233da4af33146ca8 Mon Sep 17 00:00:00 2001 From: TebbeUbben Date: Thu, 21 May 2020 00:05:54 +0200 Subject: [PATCH] Increase maximum wakelock duration --- .../androidaps/plugins/general/openhumans/OpenHumansUploader.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/openhumans/OpenHumansUploader.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/openhumans/OpenHumansUploader.kt index 75bec00c42..7c6707f440 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/openhumans/OpenHumansUploader.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/openhumans/OpenHumansUploader.kt @@ -294,7 +294,7 @@ object OpenHumansUploader : PluginBase( .map { queueTempTarget(it); showOngoingNotification(maxProgress, ++currentProgress) } .ignoreElements() .doOnSubscribe { - wakeLock.acquire(TimeUnit.MINUTES.toMillis(10)) + wakeLock.acquire(TimeUnit.MINUTES.toMillis(20)) showOngoingNotification() } .doOnComplete {