- make SyncManager get the accounts list during the constructor,

which will allow syncs to be scheduled during bootup. The
  providers need this so that they can potentially schedule
  syncs while they are starting up.
- make the SyncManager message handler wait until boot
  has completed to start dispatching messages
This commit is contained in:
Fred Quintana
2009-09-29 20:44:30 -07:00
parent fff0b4a6c2
commit e91ebe2be9
2 changed files with 40 additions and 17 deletions

View File

@@ -119,6 +119,7 @@ class ServerThread extends Thread {
mContentResolver = context.getContentResolver();
// The AccountManager must come before the ContentService
try {
Log.i(TAG, "Account Manager");
ServiceManager.addService(Context.ACCOUNT_SERVICE,