1<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2        xmlns:tools="http://schemas.android.com/tools"
3        package="com.android.providers.media"
4        android:sharedUserId="android.media"
5        android:versionCode="1024">
6
7    <!-- This "legacy" instance is retained on the device to preserve the
8         database contents before MediaProvider was migrated into a
9         Mainline module.  This ensures that we can reconstruct information
10         such as IDs and other user-generated content. -->
11
12    <application
13            android:process="android.process.media"
14            android:allowBackup="false"
15            android:supportsRtl="true"
16            android:forceQueryable="true"
17            android:usesCleartextTraffic="true">
18        <provider
19                android:name="com.android.providers.media.LegacyMediaProvider"
20                android:authorities="media_legacy"
21                android:exported="true"
22                android:permission="android.permission.WRITE_MEDIA_STORAGE" />
23
24        <!-- (b/197891819) Remove startup provider due to resource loading issues. -->
25        <provider
26            android:name="androidx.startup.InitializationProvider"
27            android:authorities="${applicationId}.androidx-startup"
28            tools:node="remove" />
29        <receiver android:name="androidx.profileinstaller.ProfileInstallReceiver"
30                  tools:node="remove" />
31    </application>
32</manifest>
33