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