am 051faaf1: am 3bef153c: Merge "Improve error logging for mailboxNotification." into jb-ub-mail-ur9

* commit '051faaf1f857d5a3bb87eb0f646d3bdbcfabb519':
  Improve error logging for mailboxNotification.
This commit is contained in:
Yu Ping Hu 2013-04-01 17:39:36 -07:00 committed by Android Git Automerger
commit 9b1aefd55c

View File

@ -582,7 +582,8 @@ public class NotificationController {
UIProvider.FOLDERS_PROJECTION, null, null, null);
if (folderCursor == null) {
LogUtils.e(LOG_TAG, "Null folder cursor for mMailboxId %d", mailboxId);
LogUtils.e(LOG_TAG, "Null folder cursor for account %d, mailbox %d",
mAccountId, mailboxId);
continue;
}
@ -591,7 +592,8 @@ public class NotificationController {
if (folderCursor.moveToFirst()) {
folder = new Folder(folderCursor);
} else {
LogUtils.e(LOG_TAG, "Empty folder cursor for mMailboxId %d", mailboxId);
LogUtils.e(LOG_TAG, "Empty folder cursor for account %d, mailbox %d",
mAccountId, mailboxId);
continue;
}
} finally {