mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 19:34:15 +01:00
Make sure the service stops when disabled
This commit is contained in:
@@ -2664,9 +2664,6 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
final boolean doStop = started;
|
||||
final boolean doStart = (start && isEnabled() && suitableNetwork());
|
||||
|
||||
if (!doStop && !doStart)
|
||||
return;
|
||||
|
||||
EntityLog.log(ServiceSynchronize.this, "Queue reload " +
|
||||
" doStop=" + doStop + " doStart=" + doStart + " queued=" + queued + " " + reason);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user