Fixed wakelock

This commit is contained in:
M66B 2018-10-11 12:20:27 +00:00
parent f26b915ece
commit 4c3d158d82
1 changed files with 0 additions and 2 deletions

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);