Push delete notification when Bug reports are deleted.

Bug: 28768706
Change-Id: I6d3e91fe7d12be44918f97cef12c99d936401270
This commit is contained in:
Ben Lin
2016-08-29 14:07:06 -07:00
parent 60ab8d072a
commit 86805aa3af

View File

@@ -132,6 +132,7 @@ public class BugreportStorageProvider extends DocumentsProvider {
if (!getFileForDocId(documentId).delete()) {
throw new FileNotFoundException("Failed to delete: " + documentId);
}
getContext().getContentResolver().notifyChange(getNotificationUri(), null);
}
// This is used by BugreportProgressService so that the notification uri shared by