Revert "Skip idle for transient accounts"

This reverts commit bc9edd087b.
This commit is contained in:
M66B 2020-12-26 10:31:04 +01:00
parent 75db9c4931
commit a526ce1614
1 changed files with 22 additions and 24 deletions

View File

@ -1288,7 +1288,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
});
// Idle folder
if (!isTransient(account)) {
Thread idler = new Thread(new Runnable() {
@Override
public void run() {
@ -1313,7 +1312,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
idler.setPriority(THREAD_PRIORITY_BACKGROUND);
idler.start();
idlers.add(idler);
}
if (sync && folder.selectable)
EntityOperation.sync(this, folder.id, false, force && !forced);