1<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2        package="com.android.dynsystem"
3        android:sharedUserId="android.uid.system">
4
5    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
6    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED"/>
7    <uses-permission android:name="android.permission.INTERNET" />
8    <uses-permission android:name="android.permission.MANAGE_DYNAMIC_SYSTEM" />
9    <uses-permission android:name="android.permission.REBOOT" />
10    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
11    <uses-permission android:name="android.permission.READ_OEM_UNLOCK_STATE" />
12    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
13
14    <application
15        android:allowBackup="false"
16        android:label="@string/app_name">
17
18        <service
19            android:name=".DynamicSystemInstallationService"
20            android:enabled="true"
21            android:exported="true"
22            android:permission="android.permission.INSTALL_DYNAMIC_SYSTEM"
23            android:foregroundServiceType="systemExempted"
24            android:process=":dynsystem" />
25
26        <activity android:name=".VerificationActivity"
27            android:exported="true"
28            android:permission="android.permission.INSTALL_DYNAMIC_SYSTEM"
29            android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar"
30            android:process=":dynsystem">
31            <intent-filter>
32                <action android:name="android.os.image.action.START_INSTALL" />
33                <category android:name="android.intent.category.DEFAULT" />
34                <data android:scheme="content" />
35                <data android:scheme="file" />
36                <data android:scheme="http" />
37                <data android:scheme="https" />
38            </intent-filter>
39            <intent-filter>
40                <action android:name="android.os.image.action.START_INSTALL" />
41                <category android:name="android.intent.category.DEFAULT" />
42            </intent-filter>
43        </activity>
44
45        <receiver
46            android:name=".BootCompletedReceiver"
47            android:enabled="true"
48            android:exported="false">
49            <intent-filter>
50                <action android:name="android.intent.action.BOOT_COMPLETED" />
51            </intent-filter>
52        </receiver>
53    </application>
54</manifest>
55