From d411d88c9fb1d5e32771a83880f3e3921e184853 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Thu, 30 Jun 2022 00:01:02 +0300 Subject: [PATCH] Remove auto start behavior --- app/src/main/AndroidManifest.xml | 9 --------- .../main/java/org/dystopia/email/ServiceSynchronize.java | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 37b3fdb0..7b010231 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -4,7 +4,6 @@ - @@ -120,13 +119,5 @@ android:resource="@xml/widget" /> - - - - - - - - diff --git a/app/src/main/java/org/dystopia/email/ServiceSynchronize.java b/app/src/main/java/org/dystopia/email/ServiceSynchronize.java index 64620327..be464a5d 100644 --- a/app/src/main/java/org/dystopia/email/ServiceSynchronize.java +++ b/app/src/main/java/org/dystopia/email/ServiceSynchronize.java @@ -343,7 +343,7 @@ public class ServiceSynchronize extends LifecycleService { } } - return START_STICKY; + return START_NOT_STICKY; } private Notification.Builder getNotificationService(TupleAccountStats stats) {