From e9e865345eb5f586e3f972db8c3c714fb6bb5aad Mon Sep 17 00:00:00 2001 From: Mindy Pereira Date: Thu, 12 Jan 2012 14:25:49 -0800 Subject: [PATCH] Set c to the result of the query. Change-Id: I5b8c935aedcdd86d756ee7de70088f2c8db179d5 --- src/com/android/email/provider/EmailProvider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index 6bbdf5e0a..b7b6cba1a 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -1821,7 +1821,8 @@ public class EmailProvider extends ContentProvider { if (selection != null || selectionArgs != null) { throw new IllegalArgumentException("UI queries can't have selection/args"); } - return uiQuery(match, uri, projection); + c = uiQuery(match, uri, projection); + return c; case ACCOUNT_DEFAULT_ID: // Start with a snapshot of the cache Map accountCache = mCacheAccount.getSnapshot();