summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-08-07 18:33:57 -0700
committerJeff Sharkey <jsharkey@android.com>2013-08-07 18:39:07 -0700
commit6a09c3294997dc9e3c83b8431f7b496b19670014 (patch)
tree759a839d9a50b999468c9b263a4085bfdc984586 /AndroidManifest.xml
parent56a03b18e3691824f8012049466954a668b68ba8 (diff)
downloadandroid_packages_providers_DownloadProvider-6a09c3294997dc9e3c83b8431f7b496b19670014.zip
android_packages_providers_DownloadProvider-6a09c3294997dc9e3c83b8431f7b496b19670014.tar.gz
android_packages_providers_DownloadProvider-6a09c3294997dc9e3c83b8431f7b496b19670014.tar.bz2
First pass at Downloads storage provider.
Offers a view of Downloads through the lens of DocumentsContract for surfacing in new storage UI. Change-Id: I4373c2498b4b82bfee2300a00f8d0bb734bf574c
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 3024a17..f1ad40e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -56,7 +56,8 @@
<uses-permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING" />
<application android:process="android.process.media"
- android:label="@string/app_label">
+ android:label="@string/app_label"
+ android:icon="@mipmap/ic_launcher_download">
<provider android:name=".DownloadProvider"
android:authorities="downloads" android:exported="true">
@@ -77,6 +78,18 @@
downloaded files with other viewers -->
<grant-uri-permission android:pathPrefix="/my_downloads/"/>
</provider>
+
+ <provider
+ android:name=".DownloadStorageProvider"
+ android:authorities="com.android.providers.downloads.storage"
+ android:grantUriPermissions="true"
+ android:exported="true"
+ android:permission="android.permission.MANAGE_DOCUMENTS">
+ <meta-data
+ android:name="android.content.DOCUMENT_PROVIDER"
+ android:resource="@xml/document_provider" />
+ </provider>
+
<service android:name=".DownloadService"
android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
<receiver android:name=".DownloadReceiver" android:exported="false">