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

* commit '3bef153c9cf6b3ab5009af8677c8460bd52d9fc5':
  Improve error logging for mailboxNotification.
This commit is contained in:
Yu Ping Hu 2013-04-01 17:38:15 -07:00 committed by Android Git Automerger
commit 051faaf1f8

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 {