b7730cbe644f2f20260587ea266d2739fb117de8
[android/platform/packages/providers/DownloadProvider.git] / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3         package="com.android.providers.downloads"
4         android:sharedUserId="android.media">
5
6     <!-- Allows access to the Download Manager -->
7     <permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER"
8         android:label="@string/permlab_downloadManager"
9         android:description="@string/permdesc_downloadManager"
10         android:protectionLevel="signatureOrSystem" />
11
12     <!-- Allows advanced access to the Download Manager -->
13     <permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED"
14         android:label="@string/permlab_downloadManagerAdvanced"
15         android:description="@string/permdesc_downloadManagerAdvanced"
16         android:protectionLevel="signatureOrSystem" />
17
18     <!-- Allows filesystem access to /cache -->
19     <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
20         android:label="@string/permlab_cacheFilesystem"
21         android:description="@string/permdesc_cacheFilesystem"
22         android:protectionLevel="signature" />
23
24     <!-- Allows to send download completed intents -->
25     <permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS"
26         android:label="@string/permlab_downloadCompletedIntent"
27         android:description="@string/permdesc_downloadCompletedIntent"
28         android:protectionLevel="signature" />
29
30     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
31     <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
32     <uses-permission android:name="android.permission.ACCESS_DRM" />
33     <uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
34     <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" />
35     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
36     <uses-permission android:name="android.permission.INTERNET" />
37     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
38     <uses-permission android:name="android.permission.INSTALL_DRM" />
39
40     <application android:process="android.process.media"
41                  android:label="@string/app_label">
42         <provider android:name=".DownloadProvider"
43                 android:authorities="downloads"
44                 android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
45         <service android:name=".DownloadService"
46                 android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
47         <receiver android:name=".DownloadReceiver" android:exported="false">
48             <intent-filter>
49                 <action android:name="android.intent.action.BOOT_COMPLETED" />
50                 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
51             </intent-filter>
52         </receiver>
53     </application>
54 </manifest>