am e9e86534: Set c to the result of the query.

* commit 'e9e865345eb5f586e3f972db8c3c714fb6bb5aad':
  Set c to the result of the query.
This commit is contained in:
Mindy Pereira 2012-01-12 14:30:52 -08:00 committed by Android Git Automerger
commit 7b19e26796

View File

@ -1821,7 +1821,8 @@ public class EmailProvider extends ContentProvider {
if (selection != null || selectionArgs != null) { if (selection != null || selectionArgs != null) {
throw new IllegalArgumentException("UI queries can't have selection/args"); 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: case ACCOUNT_DEFAULT_ID:
// Start with a snapshot of the cache // Start with a snapshot of the cache
Map<String, Cursor> accountCache = mCacheAccount.getSnapshot(); Map<String, Cursor> accountCache = mCacheAccount.getSnapshot();