summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ashwini Oruganti <ashfall@google.com> 2020-03-10 13:26:25 -0700
committer Ashwini Oruganti <ashfall@google.com> 2020-03-10 13:27:33 -0700
commita335a5c86264d3bd8f2809043250c91bdcae466d (patch)
tree5d379f7b653b35b3779626c34da2d0099fa6adb3
parent72fcef13fa57edf60775a98995a60aa92e5f48fd (diff)
ExternalStorageProvider: Add an exported flag in manifest
With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for S+. This change adds the value reflecting the previous default to the manifest. Bug: 150232615 Test: TH Change-Id: I0266b557d1c825c03508fe1a8ebdbbec39762633
-rw-r--r--packages/ExternalStorageProvider/AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/ExternalStorageProvider/AndroidManifest.xml b/packages/ExternalStorageProvider/AndroidManifest.xml
index dfe879ffe9f3..9b43d9f22390 100644
--- a/packages/ExternalStorageProvider/AndroidManifest.xml
+++ b/packages/ExternalStorageProvider/AndroidManifest.xml
@@ -24,7 +24,8 @@
android:permission="android.permission.WRITE_MEDIA_STORAGE" />
</provider>
- <receiver android:name=".MountReceiver">
+ <receiver android:name=".MountReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.os.storage.action.VOLUME_STATE_CHANGED" />
</intent-filter>