diff options
author | Ashwini Oruganti <ashfall@google.com> | 2020-05-20 11:12:02 -0700 |
---|---|---|
committer | Ashwini Oruganti <ashfall@google.com> | 2020-05-20 11:12:02 -0700 |
commit | 71a59f30ccfde5f79cff18b0135d88cc1494e3b8 (patch) | |
tree | 30af9b221ac5eb73f2b387950f2c908963cd9d91 /tests | |
parent | b1e0af7b95dd2c1e13c8755568e9b5f545b7c01a (diff) | |
download | Contacts-71a59f30ccfde5f79cff18b0135d88cc1494e3b8.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 future versions. 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: Iad59f76f644dbd271f46b85f68580d18ec6de2fd
Diffstat (limited to 'tests')
-rw-r--r-- | tests/AndroidManifest.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml index f61efdae4..f22f92c5a 100644 --- a/tests/AndroidManifest.xml +++ b/tests/AndroidManifest.xml @@ -40,7 +40,8 @@ <uses-library android:name="android.test.runner" /> <meta-data android:name="com.android.contacts.iconset" android:resource="@xml/iconset" /> - <activity android:name=".allintents.AllIntentsActivity"> + <activity android:name=".allintents.AllIntentsActivity" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> @@ -48,7 +49,8 @@ </intent-filter> </activity> - <activity android:name=".allintents.ResultActivity"> + <activity android:name=".allintents.ResultActivity" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> |