aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-05-20 15:14:16 -0700
committerAshwini Oruganti <ashfall@google.com>2020-05-20 15:14:16 -0700
commit08ac7b95e1ba1dc63d26a7fdb5c59c7bd0b82ab6 (patch)
tree4e8ec9980492c50ddcfb642eb953b9cc07cbb9c7
parent8f9b6d05bc04cbf65aadb87738964f96b9c3c02a (diff)
downloadtests-08ac7b95e1ba1dc63d26a7fdb5c59c7bd0b82ab6.tar.gz
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: I28be966bd827bf7d7372b4fc4743021d60f49517 Merged-In: I28be966bd827bf7d7372b4fc4743021d60f49517
-rw-r--r--TestMediaApp/AndroidManifest.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/TestMediaApp/AndroidManifest.xml b/TestMediaApp/AndroidManifest.xml
index 3f27c5b..67f973f 100644
--- a/TestMediaApp/AndroidManifest.xml
+++ b/TestMediaApp/AndroidManifest.xml
@@ -66,6 +66,7 @@
<activity
android:name=".prefs.TmaPrefsActivity"
+ android:exported="true"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.APPLICATION_PREFERENCES"/>
@@ -78,14 +79,16 @@
<meta-data android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc"/>
- <activity android:name=".phone.TmaLauncherActivity" >
+ <activity android:name=".phone.TmaLauncherActivity"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
- <receiver android:name="androidx.media.session.MediaButtonReceiver" >
+ <receiver android:name="androidx.media.session.MediaButtonReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>