Make DownloadProvider accessible for public API usage.
[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 to send download completed intents -->
19     <permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS"
20         android:label="@string/permlab_downloadCompletedIntent"
21         android:description="@string/permdesc_downloadCompletedIntent"
22         android:protectionLevel="signature" />
23
24     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
25     <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
26     <uses-permission android:name="android.permission.ACCESS_DRM" />
27     <uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
28     <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" />
29     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
30     <uses-permission android:name="android.permission.INTERNET" />
31     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
32     <uses-permission android:name="android.permission.INSTALL_DRM" />
33
34     <application android:process="android.process.media"
35                  android:label="@string/app_label">
36         <provider android:name=".DownloadProvider"
37                 android:authorities="downloads" />
38         <service android:name=".DownloadService"
39                 android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
40         <receiver android:name=".DownloadReceiver" android:exported="false">
41             <intent-filter>
42                 <action android:name="android.intent.action.BOOT_COMPLETED" />
43                 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
44             </intent-filter>
45         </receiver>
46     </application>
47 </manifest>