| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.android.dynsystem" |
| android:sharedUserId="android.uid.system"> |
| |
| <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED"/> |
| <uses-permission android:name="android.permission.INTERNET" /> |
| <uses-permission android:name="android.permission.MANAGE_DYNAMIC_SYSTEM" /> |
| <uses-permission android:name="android.permission.REBOOT" /> |
| <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| <uses-permission android:name="android.permission.READ_OEM_UNLOCK_STATE" /> |
| <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| |
| <application |
| android:allowBackup="false" |
| android:label="@string/app_name"> |
| |
| <service |
| android:name=".DynamicSystemInstallationService" |
| android:enabled="true" |
| android:exported="true" |
| android:permission="android.permission.INSTALL_DYNAMIC_SYSTEM" |
| android:foregroundServiceType="systemExempted" |
| android:process=":dynsystem" /> |
| |
| <activity android:name=".VerificationActivity" |
| android:exported="true" |
| android:permission="android.permission.INSTALL_DYNAMIC_SYSTEM" |
| android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar" |
| android:process=":dynsystem"> |
| <intent-filter> |
| <action android:name="android.os.image.action.START_INSTALL" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:scheme="content" /> |
| <data android:scheme="file" /> |
| <data android:scheme="http" /> |
| <data android:scheme="https" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.os.image.action.START_INSTALL" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| </activity> |
| |
| <receiver |
| android:name=".BootCompletedReceiver" |
| android:enabled="true" |
| android:exported="false"> |
| <intent-filter> |
| <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| </intent-filter> |
| </receiver> |
| </application> |
| </manifest> |