Refactoring

This commit is contained in:
M66B 2018-12-28 18:31:17 +00:00
parent 67ba4af41d
commit efbad2ac4f
1 changed files with 2 additions and 2 deletions

View File

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