am 29dc837d: Fix flashing conversation list reloads.

* commit '29dc837d80e3d9faa03f52147285a58e6fd835e8':
  Fix flashing conversation list reloads.
This commit is contained in:
Mark Wei 2013-05-21 13:14:06 -07:00 committed by Android Git Automerger
commit 9ad402a407

View File

@ -3035,6 +3035,9 @@ public class EmailProvider extends ContentProvider {
row[UIProvider.FOLDER_UNREAD_COUNT_COLUMN] = numUnread;
row[UIProvider.FOLDER_ICON_RES_ID_COLUMN] = R.drawable.ic_folder_mark_unread;
mc.addRow(row);
mc.setNotificationUri(context.getContentResolver(), uri);
c.setNotificationUri(context.getContentResolver(), uri);
Cursor[] cursors = new Cursor[] {mc, c};
return new MergeCursor(cursors);
}