commit | 86805aa3afb5b08e916da424d0daf05149fae7ee | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Mon Aug 29 14:07:06 2016 -0700 |
committer | Ben Lin <linben@google.com> | Mon Aug 29 14:08:32 2016 -0700 |
tree | 88e0c7f6d3acaf1900e0b8477799dc74395dac7b | |
parent | 60ab8d072af5947d8ebaaa8c8d0f2ad6b82bd34c [diff] |
Push delete notification when Bug reports are deleted. Bug: 28768706 Change-Id: I6d3e91fe7d12be44918f97cef12c99d936401270
diff --git a/packages/Shell/src/com/android/shell/BugreportStorageProvider.java b/packages/Shell/src/com/android/shell/BugreportStorageProvider.java index 8b07599..9fd80d3 100644 --- a/packages/Shell/src/com/android/shell/BugreportStorageProvider.java +++ b/packages/Shell/src/com/android/shell/BugreportStorageProvider.java
@@ -132,6 +132,7 @@ 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