DynamicSystemInstallationService should not include intent filter

Communication with services is required to go through explicit intents.
This service is protected with permissions, so no need to add additional
intent filters for protection.

Bug: 270573773
Test: atest DynamicSystemClientTest
Change-Id: I5851982f5a12d1036f6909b26247d9e71ca26933
This commit is contained in:
John Wu
2023-02-25 12:02:42 +00:00
parent 7f958bd4bb
commit a18cd6aef5

View File

@@ -21,12 +21,7 @@
android:exported="true"
android:permission="android.permission.INSTALL_DYNAMIC_SYSTEM"
android:foregroundServiceType="systemExempted"
android:process=":dynsystem">
<intent-filter>
<action android:name="android.os.image.action.NOTIFY_IF_IN_USE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</service>
android:process=":dynsystem" />
<activity android:name=".VerificationActivity"
android:exported="true"