From 0306da14e33d5ba0a169be82925e797a9f03e4db Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Wed, 27 Jul 2011 21:57:06 -0700 Subject: [PATCH] Correct recently added EmailProvider logging Change-Id: Ica61b7bcbe455448a1a261c83defa840ab1abf3e --- src/com/android/email/provider/EmailProvider.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index 7ac5ca49c..d4e6954f1 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -1801,7 +1801,8 @@ public class EmailProvider extends ContentProvider { // Return a cursor with an id projection MatrixCursor mc = new MatrixCursor(EmailContent.ID_PROJECTION); mc.addRow(new Object[] {accountId}); - return mc; + c = mc; + break; case MAILBOX_ID_FROM_ACCOUNT_AND_TYPE: // Get accountId and type and find the mailbox in our map List pathSegments = uri.getPathSegments(); @@ -1811,7 +1812,8 @@ public class EmailProvider extends ContentProvider { // Return a cursor with an id projection mc = new MatrixCursor(EmailContent.ID_PROJECTION); mc.addRow(new Object[] {mailboxId}); - return mc; + c = mc; + break; case BODY: case MESSAGE: case UPDATED_MESSAGE: