Merge "Catch case where provider reports returning null in error"

This commit is contained in:
Marc Blank 2011-08-05 09:56:35 -07:00 committed by Android (Google) Code Review
commit a08f654a1a

View File

@ -1832,7 +1832,8 @@ public class EmailProvider extends ContentProvider {
if (accountCount < MAX_CACHED_ACCOUNTS) {
mc = new MatrixCursor(projection, 1);
mc.addRow(new Object[] {accountCount});
return mc;
c = mc;
break;
}
}
c = db.query(tableName, projection,