Home | History | Annotate | Download | only in DownloadProvider
      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     <permission android:name="android.permission.SEE_ALL_EXTERNAL"
     25         android:label="@string/permlab_seeAllExternal"
     26         android:description="@string/permdesc_seeAllExternal"
     27         android:protectionLevel="normal"/>
     28 
     29     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
     30     <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
     31     <uses-permission android:name="android.permission.ACCESS_DRM" />
     32     <uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
     33     <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" />
     34     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     35     <uses-permission android:name="android.permission.INTERNET" />
     36     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     37     <uses-permission android:name="android.permission.INSTALL_DRM" />
     38 
     39     <application android:process="android.process.media"
     40                  android:label="@string/app_label">
     41         <provider android:name=".DownloadProvider"
     42                 android:authorities="downloads"
     43                 android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
     44         <service android:name=".DownloadService"
     45                 android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
     46         <receiver android:name=".DownloadReceiver" android:exported="false">
     47             <intent-filter>
     48                 <action android:name="android.intent.action.BOOT_COMPLETED" />
     49                 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
     50             </intent-filter>
     51         </receiver>
     52     </application>
     53 </manifest>
     54