Don't export HeapDumpProvider.
Stop exporting HeapDumpProvider so apps can only access generated dumps
when the user explicitly shares them.
Test: capture system heap dump in developer options and confirm test app
get SecurityException if it tries to access the dump directly, but gets
access when the dump is shared through the notification flow
(cherry picked from commit a60c62bcb74e0146820f75f1da49581d1709b63c)
(cherry picked from commit 260d0a85ddf986d41340980ef5abf0a878d65d9c)
1 file changed