From 8b780958215ba0388fe0f8d679ece46410d8695f Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Tue, 5 Feb 2013 11:00:51 -0800 Subject: [PATCH] timeForBackgroundSync() should have additional conditions besides just whether or not migration is ongoing --- .../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 f3d507a27..a36f26696 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncThread.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncThread.java @@ -257,7 +257,7 @@ public class ActFmSyncThread { } private boolean timeForBackgroundSync() { - return !Flags.check(Flags.SYNC_MIGRATION_ONGOING); + return !Flags.check(Flags.SYNC_MIGRATION_ONGOING) && false; // TODO: replace && false with a real background sync condition } private void repopulateQueueFromOutstandingTables() {