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: If1d6533b70358b592ffedcb486559c9d1a0aa705
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 998a95f..d379dfa 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -127,6 +127,7 @@
android:theme="@android:style/Theme.Translucent"
android:label="@string/android_beam"
android:noHistory="true"
+ android:exported="true"
android:excludeFromRecents="true">
<intent-filter>
<action android:name="android.intent.action.SEND" />
@@ -153,7 +154,8 @@
android:process=":beam"
/>
- <receiver android:name=".NfcBootCompletedReceiver">
+ <receiver android:name=".NfcBootCompletedReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>