Refactoring

pull/147/head
M66B 6 years ago
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…
Cancel
Save