Browse Source

Fixed wakelock

main
M66B 5 years ago
parent
commit
4c3d158d82
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 0
- 2
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -860,7 +860,6 @@ public class ServiceSynchronize extends LifecycleService {
@Override
public void run() {
try {
wl.acquire();
Log.i(Helper.TAG, folder.name + " start idle");
while (state.running) {
Log.i(Helper.TAG, folder.name + " do idle");
@ -878,7 +877,6 @@ public class ServiceSynchronize extends LifecycleService {
yieldWakelock();
} finally {
Log.i(Helper.TAG, folder.name + " end idle");
wl.release();
}
}
}, "idler." + folder.id);


Loading…
Cancel
Save