Pass the correct id to getAccountManagerAccount.
Bug: 10965484 Change-Id: I8e1aab4810da4673313b10231592283736a92ef9
This commit is contained in:
parent
c4d139c4f4
commit
85ad73aecd
@ -5251,7 +5251,7 @@ public class EmailProvider extends ContentProvider {
|
||||
final SyncRequestMessage request = (SyncRequestMessage) msg.obj;
|
||||
final Bundle extras = new Bundle();
|
||||
extras.putLong(Mailbox.SYNC_EXTRA_MAILBOX_ID, request.mMailboxId);
|
||||
ContentResolver.requestSync(getAccountManagerAccount(request.mMailboxId),
|
||||
ContentResolver.requestSync(getAccountManagerAccount(request.mAccountId),
|
||||
request.mAuthority, extras);
|
||||
mDelayedSyncRequests.remove(request);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user