Queue useful work only

This commit is contained in:
M66B 2018-11-28 20:18:08 +01:00
parent 6f49e81c0c
commit f5ee1c2953
1 changed files with 3 additions and 0 deletions

View File

@ -2440,6 +2440,9 @@ 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);