Make sure the service stops when disabled

This commit is contained in:
M66B 2018-12-10 09:31:26 +01:00
parent c4a07e2fd4
commit 0267e7ad39
1 changed files with 0 additions and 3 deletions

View File

@ -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);