am be3bceb5: fix the logic for starting a sync after the accounts changed
Merge commit 'be3bceb5b908c23eeda5a8d04d2ea3d43cc7ed10' into eclair-plus-aosp * commit 'be3bceb5b908c23eeda5a8d04d2ea3d43cc7ed10': fix the logic for starting a sync after the accounts changed
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user