Home | History | Annotate | Download | only in MediaProvider
      1 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      2         package="com.android.providers.media"
      3         android:sharedUserId="android.media"
      4         android:sharedUserLabel="@string/uid_label">
      5         
      6     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
      7     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
      8     <uses-permission android:name="android.permission.WAKE_LOCK" />
      9     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     10     
     11     <application android:process="android.process.media"
     12                  android:label="@string/app_label">
     13         <provider android:name="MediaProvider" android:authorities="media"
     14                 android:multiprocess="false" />
     15         
     16         <receiver android:name="MediaScannerReceiver">
     17             <intent-filter>
     18                 <action android:name="android.intent.action.BOOT_COMPLETED" />
     19             </intent-filter>
     20             <intent-filter>
     21                 <action android:name="android.intent.action.MEDIA_MOUNTED" />
     22                 <data android:scheme="file" />
     23             </intent-filter>
     24             <intent-filter>
     25                 <action android:name="android.intent.action.MEDIA_SCANNER_SCAN_FILE" />
     26                 <data android:scheme="file" />
     27             </intent-filter>
     28         </receiver>
     29 
     30         <service android:name="MediaScannerService" android:exported="true">
     31             <intent-filter>
     32                 <action android:name="android.media.IMediaScannerService" />
     33             </intent-filter>
     34         </service>
     35 
     36     </application>
     37 </manifest>
     38