From 33bc0bd4a5543dc507cc3906ae8352f0eb4f779d Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Tue, 11 Aug 2009 20:19:28 -0700 Subject: [PATCH] Fixes re: CL20440, per stadler's comments --- src/com/android/exchange/adapter/FolderSyncParser.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/com/android/exchange/adapter/FolderSyncParser.java b/src/com/android/exchange/adapter/FolderSyncParser.java index 1831385a4..883de368f 100644 --- a/src/com/android/exchange/adapter/FolderSyncParser.java +++ b/src/com/android/exchange/adapter/FolderSyncParser.java @@ -303,7 +303,7 @@ public class FolderSyncParser extends Parser { // Finally, we execute the batch try { mService.mContext.getContentResolver() - .applyBatch(EmailProvider.EMAIL_AUTHORITY, ops); + .applyBatch(EmailProvider.EMAIL_AUTHORITY, ops); mService.userLog("New Account SyncKey: " + mAccount.mSyncKey); } catch (RemoteException e) { // There is nothing to be done here; fail by returning null @@ -315,8 +315,9 @@ public class FolderSyncParser extends Parser { // I'm not aware of any other way to deal with this properly mBindArguments[0] = "Sync Issues"; mBindArguments[1] = mAccountIdAsString; - Cursor c = mContentResolver.query(Mailbox.CONTENT_URI, MAILBOX_ID_COLUMNS_PROJECTION, - WHERE_DISPLAY_NAME_AND_ACCOUNT, mBindArguments, null); + Cursor c = mContentResolver.query(Mailbox.CONTENT_URI, + MAILBOX_ID_COLUMNS_PROJECTION, WHERE_DISPLAY_NAME_AND_ACCOUNT, + mBindArguments, null); String parentServerId = null; long id = 0; try {