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: 270136545
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
committed by Winson Chiu
parent b95f810ec8
commit bb563770e6

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.android.packageinstaller">
<original-package android:name="com.android.packageinstaller" />
@@ -149,6 +150,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>