From 90bdc4e44761185d541be52bcda6c5567f48de4e Mon Sep 17 00:00:00 2001 From: Ashwini Oruganti Date: Mon, 23 Mar 2020 15:00:53 -0700 Subject: [PATCH] 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: I4395aa6b40fc1b1f8e3a5f4719534a66b6e20969 --- AndroidManifest.xml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3468ac3..9793846 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -69,6 +69,7 @@ android:configChanges="orientation|screenSize|keyboardHidden" android:screenOrientation="user" android:label="@string/app_name" + android:exported="true" android:theme="@style/BugleTheme.ConversationListActivity"> @@ -90,6 +91,7 @@ android:screenOrientation="user" android:theme="@style/Invisible" android:noHistory="true" + android:exported="true" android:documentLaunchMode="always"> @@ -191,6 +193,7 @@ android:parentActivityName="com.android.messaging.ui.appsettings.SettingsActivity"> @@ -206,6 +209,7 @@ android:screenOrientation="user" android:theme="@style/BugleTheme.DialogActivity" android:excludeFromRecents="true" + android:exported="true" android:documentLaunchMode="always"> @@ -336,6 +340,7 @@ @@ -344,6 +349,7 @@ @@ -357,6 +363,7 @@ @@ -365,6 +372,7 @@ @@ -373,6 +381,7 @@ @@ -380,6 +389,7 @@ @@ -441,7 +451,8 @@ android:theme="@style/BugleTheme" android:parentActivityName="com.android.messaging.ui.appsettings.ApnSettingsActivity"/> - + @@ -450,11 +461,12 @@ - + - + @@ -472,7 +484,8 @@ - + @@ -480,6 +493,7 @@ @@ -490,6 +504,7 @@ @@ -508,6 +523,7 @@