mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02: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