Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64146c5d authored by Ben Lin's avatar Ben Lin Committed by android-build-merger
Browse files

Push delete notification when Bug reports are deleted.

am: 86805aa3

Change-Id: I1bd1544f5a3848077cb98faf184e99a9c22f1771
parents e0426bc1 86805aa3
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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