do not execute synchronization concurrently

This commit is contained in:
korelstar 2018-04-15 10:45:20 +02:00
parent 153459d3bc
commit a541775514

View file

@ -192,7 +192,7 @@ public class NoteServerSyncHelper {
syncTask.addCallbacks(callbacksPull);
callbacksPull = new ArrayList<>();
}
syncTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
syncTask.execute();
} else if (!onlyLocalChanges) {
Log.d(getClass().getSimpleName(), "... scheduled");
syncScheduled = true;