From e87cc33f13cc0637af3fea5623236e4a3d485945 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Mon, 17 Jan 2022 19:02:46 -0500 Subject: [PATCH] Reduce service start worker to every 3h --- app/src/main/java/io/heckel/ntfy/ui/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/heckel/ntfy/ui/MainActivity.kt b/app/src/main/java/io/heckel/ntfy/ui/MainActivity.kt index 1264a0b..31d751c 100644 --- a/app/src/main/java/io/heckel/ntfy/ui/MainActivity.kt +++ b/app/src/main/java/io/heckel/ntfy/ui/MainActivity.kt @@ -541,6 +541,6 @@ class MainActivity : AppCompatActivity(), ActionMode.Callback, AddFragment.Subsc // Thanks to varunon9 (https://gist.github.com/varunon9/f2beec0a743c96708eb0ef971a9ff9cd) for this! const val POLL_WORKER_INTERVAL_MINUTES = 2 * 60L - const val SERVICE_START_WORKER_INTERVAL_MINUTES = 6 * 60L + const val SERVICE_START_WORKER_INTERVAL_MINUTES = 3 * 60L } }