Catch case where provider reports returning null in error

* Missed this one

Change-Id: I080bd3b910827336fcfde818564067db5b4ec3cc
This commit is contained in:
Marc Blank 2011-08-05 09:50:56 -07:00
parent 6be8cceadd
commit 577e604df0

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,