Pass the correct id to getAccountManagerAccount.

Bug: 10965484
Change-Id: I8e1aab4810da4673313b10231592283736a92ef9
This commit is contained in:
Yu Ping Hu 2013-09-29 16:12:52 -07:00
parent c4d139c4f4
commit 85ad73aecd

View File

@ -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;