Remove the receiver from merged manifests.

ExportedComponentTests verify if all receivers in Package Installer Activity are exported, including the manifests in its dependencies. This exported receiver was causing test failures. However, since it cannot be marked as non-exported, removing it from merged manifests of Package Installer

Bug: 269666304
Bug: 283486512
Test: atest PackageInstallerTests:ExportedComponentTest
Change-Id: I3cd6b846b24be7d18565305f8b4c8ccd13172b13
Merged-In: I3cd6b846b24be7d18565305f8b4c8ccd13172b13
(cherry picked from commit 96e7cc7159)
This commit is contained in:
Sumedh Sen
2023-02-17 15:18:33 -08:00
parent e3a407623f
commit 05aeb9765e

View File

@@ -143,6 +143,9 @@
android:authorities="com.google.android.packageinstaller.wear.provider"
android:grantUriPermissions="true"
android:exported="false" />
<receiver android:name="androidx.profileinstaller.ProfileInstallReceiver"
tools:node="remove" />
</application>
</manifest>