- 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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user