From a60c62bcb74e0146820f75f1da49581d1709b63c Mon Sep 17 00:00:00 2001 From: Kweku Adams Date: Thu, 3 Jun 2021 16:07:56 -0700 Subject: [PATCH] Don't export HeapDumpProvider. Stop exporting HeapDumpProvider so apps can only access generated dumps when the user explicitly shares them. Bug: 184046948 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 Change-Id: Ibdca7cde4f563baa39163869289da5b79fc3a6db --- packages/Shell/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index d2947c648b0a9..bcb21d1d64ce3 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -589,7 +589,7 @@ + android:exported="false" />