From 0736191635157cf5144fd2bc9d202a4b6e1e0def Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Mon, 18 Mar 2013 10:34:34 -0700 Subject: [PATCH] Delay population of sync queue on thread start so it doesn't try and reference non-existent tables before the migration has happened --- .../com/todoroo/astrid/actfm/sync/ActFmSyncThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncThread.java b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncThread.java index e5b41bdaa..19a065aa8 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncThread.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncThread.java @@ -172,7 +172,7 @@ public class ActFmSyncThread { public synchronized void startSyncThread() { if (thread == null || !thread.isAlive()) { - repopulateQueueFromOutstandingTables(); + setTimeForBackgroundSync(true); thread = new Thread(new Runnable() { @Override public void run() {