mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
parent
67ba4af41d
commit
efbad2ac4f
|
@ -2821,6 +2821,8 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
EntityLog.log(ServiceSynchronize.this, "Queue reload " +
|
||||
" doStop=" + doStop + " doStart=" + doStart + " queued=" + queued + " " + reason);
|
||||
|
||||
started = doStart;
|
||||
|
||||
queued++;
|
||||
queue.submit(new Runnable() {
|
||||
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
|
||||
|
@ -2880,8 +2882,6 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
Thread.sleep(YIELD_DURATION);
|
||||
} catch (InterruptedException ignored) {
|
||||
}
|
||||
|
||||
started = doStart;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue