Add an exported flag in manifest
With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for S+. This change adds the value reflecting the previous
default to the manifest.
These changes were made using an automated tool, the xml file may be
reformatted slightly creating a larger diff. The only "real" change is
the addition of "android:exported" to activities, services, and
receivers that have one or more intent-filters.
Bug: 150232615
Test: TH
Exempt-From-Owner-Approval: mechanical refactoring
Change-Id: If15df0615725c762c279de6d54584fb855ba2d80
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 3fa3df1..a4f9ce5 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -73,7 +73,8 @@
<service android:name="EpgDataCleanupService" />
<!-- Handles database upgrades after OTAs -->
- <receiver android:name="TvProviderUpgradeReceiver">
+ <receiver android:name="TvProviderUpgradeReceiver"
+ android:exported="true">
<!-- This broadcast is sent after the core system has finished
booting, before the home app is launched or BOOT_COMPLETED
is sent. -->
@@ -83,14 +84,16 @@
</receiver>
<!-- Deletes transient rows on boot. -->
- <receiver android:name="BootCompletedReceiver">
+ <receiver android:name="BootCompletedReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
<!-- Removes channels and programs when some package is fully removed. -->
- <receiver android:name="PackageRemovedReceiver">
+ <receiver android:name="PackageRemovedReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_FULLY_REMOVED"/>
<data android:scheme="package"/>
@@ -99,7 +102,8 @@
<!-- Removes preview programs, watch next programs, and preview channels when some
package is disabled. -->
- <receiver android:name="PackageChangedReceiver">
+ <receiver android:name="PackageChangedReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_CHANGED"/>
<data android:scheme="package"/>