mirror of https://github.com/M66B/FairEmail.git
Make sure the service stops when disabled
This commit is contained in:
parent
c4a07e2fd4
commit
0267e7ad39
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue