Make all public API downloads visible.
[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     <!-- Allows to download non-purgeable files to the cache partition through the public API -->
25     <permission android:name="android.permission.DOWNLOAD_CACHE_NON_PURGEABLE"
26         android:label="@string/permlab_downloadCacheNonPurgeable"
27         android:description="@string/permdesc_downloadCacheNonPurgeable"
28         android:protectionLevel="signatureOrSystem"/>
29
30     <!-- Allows to queue downloads without a notification shown while the download runs. -->
31     <permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION"
32         android:label="@string/permlab_downloadWithoutNotification"
33         android:description="@string/permdesc_downloadWithoutNotification"
34         android:protectionLevel="signatureOrSystem"/>
35
36     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
37     <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
38     <uses-permission android:name="android.permission.ACCESS_DRM" />
39     <uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
40     <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" />
41     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
42     <uses-permission android:name="android.permission.INTERNET" />
43     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
44     <uses-permission android:name="android.permission.INSTALL_DRM" />
45
46     <application android:process="android.process.media"
47                  android:label="@string/app_label">
48         <provider android:name=".DownloadProvider"
49                 android:authorities="downloads" />
50         <service android:name=".DownloadService"
51                 android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
52         <receiver android:name=".DownloadReceiver" android:exported="false">
53             <intent-filter>
54                 <action android:name="android.intent.action.BOOT_COMPLETED" />
55                 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
56             </intent-filter>
57         </receiver>
58     </application>
59 </manifest>