From 8c9a58e29970ee4d8f6b8ab405895d21424a8526 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 20 Jun 2021 18:20:48 +0200 Subject: [PATCH] Increased report task wait --- app/src/main/java/eu/faircode/email/SimpleTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/SimpleTask.java b/app/src/main/java/eu/faircode/email/SimpleTask.java index b1d9ccb9de..c0120fb0aa 100644 --- a/app/src/main/java/eu/faircode/email/SimpleTask.java +++ b/app/src/main/java/eu/faircode/email/SimpleTask.java @@ -65,7 +65,7 @@ public abstract class SimpleTask implements LifecycleObserver { private static final List tasks = new ArrayList<>(); private static final int MAX_WAKELOCK = 30 * 60 * 1000; // milliseconds - private static final int REPORT_AFTER = 5 * 60 * 1000; // milliseconds + private static final int REPORT_AFTER = 15 * 60 * 1000; // milliseconds private static final int CANCEL_AFTER = MAX_WAKELOCK; // milliseconds static final String ACTION_TASK_COUNT = BuildConfig.APPLICATION_ID + ".ACTION_TASK_COUNT";