mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
8e3b64450e
commit
4fcea7af71
|
@ -3221,7 +3221,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
yield();
|
yield();
|
||||||
}
|
}
|
||||||
|
|
||||||
void yield() {
|
private void yield() {
|
||||||
try {
|
try {
|
||||||
// Give interrupted thread some time to acquire wake lock
|
// Give interrupted thread some time to acquire wake lock
|
||||||
Thread.sleep(YIELD_DURATION);
|
Thread.sleep(YIELD_DURATION);
|
||||||
|
|
Loading…
Reference in New Issue