summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:32:40 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:32:40 -0800
commit2dd83ce992eaaf3d44c32bc7468b47e3db014027 (patch)
treef44e5351473a18e86a89e3bfe46914d66e8e1b3b /AndroidManifest.xml
parent1edb39f280d23b3a87db45b63c2f26850d68eafe (diff)
downloadandroid_packages_providers_DownloadProvider-2dd83ce992eaaf3d44c32bc7468b47e3db014027.zip
android_packages_providers_DownloadProvider-2dd83ce992eaaf3d44c32bc7468b47e3db014027.tar.gz
android_packages_providers_DownloadProvider-2dd83ce992eaaf3d44c32bc7468b47e3db014027.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
new file mode 100644
index 0000000..a7d424a
--- /dev/null
+++ b/AndroidManifest.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.providers.downloads"
+ android:sharedUserId="android.media">
+
+ <!-- Allows access to the Download Manager -->
+ <permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER"
+ android:label="@string/permlab_downloadManager"
+ android:description="@string/permdesc_downloadManager"
+ android:protectionLevel="signatureOrSystem" />
+
+ <!-- Allows advanced access to the Download Manager -->
+ <permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED"
+ android:label="@string/permlab_downloadManagerAdvanced"
+ android:description="@string/permdesc_downloadManagerAdvanced"
+ android:protectionLevel="signatureOrSystem" />
+
+ <!-- Allows filesystem access to /cache -->
+ <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
+ android:label="@string/permlab_cacheFilesystem"
+ android:description="@string/permdesc_cacheFilesystem"
+ android:protectionLevel="signature" />
+
+ <!-- Allows to send download completed intents -->
+ <permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS"
+ android:label="@string/permlab_downloadCompletedIntent"
+ android:description="@string/permdesc_downloadCompletedIntent"
+ android:protectionLevel="signature" />
+
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
+ <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
+ <uses-permission android:name="android.permission.ACCESS_DRM" />
+ <uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
+ <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <application android:process="android.process.media"
+ android:label="Download Manager">
+ <provider android:name=".DownloadProvider"
+ android:authorities="downloads"
+ android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
+ <service android:name=".DownloadService"
+ android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
+ <receiver android:name=".DownloadReceiver" android:exported="false">
+ <intent-filter>
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
+ <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
+ </intent-filter>
+ </receiver>
+ </application>
+</manifest>