Push delete notification when Bug reports are deleted.
Bug: 28768706 Change-Id: I6d3e91fe7d12be44918f97cef12c99d936401270
This commit is contained in:
@@ -132,6 +132,7 @@ public class BugreportStorageProvider extends DocumentsProvider {
|
|||||||
if (!getFileForDocId(documentId).delete()) {
|
if (!getFileForDocId(documentId).delete()) {
|
||||||
throw new FileNotFoundException("Failed to delete: " + documentId);
|
throw new FileNotFoundException("Failed to delete: " + documentId);
|
||||||
}
|
}
|
||||||
|
getContext().getContentResolver().notifyChange(getNotificationUri(), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is used by BugreportProgressService so that the notification uri shared by
|
// This is used by BugreportProgressService so that the notification uri shared by
|
||||||
|
|||||||
Reference in New Issue
Block a user