Simplification

This commit is contained in:
M66B 2021-02-25 09:48:50 +01:00
parent 798c0bf649
commit ac41616191
1 changed files with 3 additions and 1 deletions

View File

@ -1331,11 +1331,13 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
public void run() {
try {
Log.i(folder.name + " start idle");
while (ifolder.isOpen() && state.isRunning() && state.isRecoverable()) {
while (state.isRunning() && state.isRecoverable()) {
Log.i(folder.name + " do idle");
ifolder.idle(false);
state.activity();
}
if (BuildConfig.DEBUG)
EntityLog.log(ServiceSynchronize.this, folder.name + " end IDLE");
} catch (Throwable ex) {
Log.e(folder.name, ex);
EntityLog.log(