From be3bceb5b908c23eeda5a8d04d2ea3d43cc7ed10 Mon Sep 17 00:00:00 2001 From: Fred Quintana Date: Tue, 22 Sep 2009 21:14:48 -0700 Subject: [PATCH] fix the logic for starting a sync after the accounts changed --- core/java/android/content/SyncManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/content/SyncManager.java b/core/java/android/content/SyncManager.java index 80613d8fe30d4..eff6f52bda04d 100644 --- a/core/java/android/content/SyncManager.java +++ b/core/java/android/content/SyncManager.java @@ -244,7 +244,7 @@ class SyncManager implements OnAccountsUpdatedListener { // If this was the bootup case then don't sync everything, instead only // sync those that have an unknown syncable state, which will give them // a chance to set their syncable state. - boolean onlyThoseWithUnkownSyncableState = !justBootedUp; + boolean onlyThoseWithUnkownSyncableState = justBootedUp; scheduleSync(null, null, null, 0 /* no delay */, onlyThoseWithUnkownSyncableState); } }