summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit57f55b3cb4f7e4136cde8d1ea12c1e70ec903362 (patch)
tree627c44eef7eb87514d987b5bce439eb9cb79be99 /AndroidManifest.xml
downloadandroid_packages_providers_DownloadProvider-57f55b3cb4f7e4136cde8d1ea12c1e70ec903362.zip
android_packages_providers_DownloadProvider-57f55b3cb4f7e4136cde8d1ea12c1e70ec903362.tar.gz
android_packages_providers_DownloadProvider-57f55b3cb4f7e4136cde8d1ea12c1e70ec903362.tar.bz2
Initial Contribution
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml58
1 files changed, 58 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
new file mode 100644
index 0000000..d9873e6
--- /dev/null
+++ b/AndroidManifest.xml
@@ -0,0 +1,58 @@
+<?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 access to the Download Manager data (for UI purposes) -->
+ <permission android:name="android.permission.ACCESS_DOWNLOAD_DATA"
+ android:label="@string/permlab_downloadData"
+ android:description="@string/permdesc_downloadData"
+ android:protectionLevel="signature" />
+
+ <!-- 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" />
+
+ <!-- Allow to download to /cache/update.install -->
+ <permission android:name="android.permission.DOWNLOAD_OTA_UPDATE"
+ android:label="@string/permlab_downloadOtaUpdate"
+ android:description="@string/permdesc_downloadOtaUpdate"
+ 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.ACCESS_DOWNLOAD_DATA" />
+ <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>