summaryrefslogtreecommitdiff
path: root/tests/GridLayoutTest
diff options
context:
space:
mode:
author Ashwini Oruganti <ashfall@google.com> 2020-03-18 15:46:39 -0700
committer Jeff Sharkey <jsharkey@google.com> 2020-03-23 18:34:09 +0000
commite178c24db3abb8d1ebaba5052b05c99204dc6c88 (patch)
treeb924d8b82d314091dd19dce280b4df3179cdf197 /tests/GridLayoutTest
parented91e9135b957debeeb18b3267c2761912101ff5 (diff)
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: I4457ff2bd466a4c56fed2570e110f251031c2385
Diffstat (limited to 'tests/GridLayoutTest')
-rw-r--r--tests/GridLayoutTest/AndroidManifest.xml42
1 files changed, 31 insertions, 11 deletions
diff --git a/tests/GridLayoutTest/AndroidManifest.xml b/tests/GridLayoutTest/AndroidManifest.xml
index 677220db8a53..6fdcda3e6ce7 100644
--- a/tests/GridLayoutTest/AndroidManifest.xml
+++ b/tests/GridLayoutTest/AndroidManifest.xml
@@ -15,76 +15,96 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.test.layout">
+ package="com.android.test.layout">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-sdk android:minSdkVersion="11"/>
<application>
- <activity android:name="Activity0" android:label="Activity0">
+ <activity android:name="Activity0"
+ android:label="Activity0"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <activity android:name="Activity1" android:label="Activity1">
+ <activity android:name="Activity1"
+ android:label="Activity1"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <activity android:name="Activity4" android:label="Activity4">
+ <activity android:name="Activity4"
+ android:label="Activity4"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <activity android:name="Activity5" android:label="Activity5">
+ <activity android:name="Activity5"
+ android:label="Activity5"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <activity android:name="Activity6" android:label="Activity6">
+ <activity android:name="Activity6"
+ android:label="Activity6"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <activity android:name="Activity7" android:label="Activity7">
+ <activity android:name="Activity7"
+ android:label="Activity7"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <activity android:name="AlignmentTest" android:label="AlignmentTest">
+ <activity android:name="AlignmentTest"
+ android:label="AlignmentTest"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <activity android:name="LinearLayoutTest" android:label="LinearLayoutTest">
+ <activity android:name="LinearLayoutTest"
+ android:label="LinearLayoutTest"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <activity android:name="GridLayoutTest" android:label="GridLayoutTest">
+ <activity android:name="GridLayoutTest"
+ android:label="GridLayoutTest"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
- <activity android:name="LayoutInsetsTest" android:label="LayoutInsetsTest">
+ <activity android:name="LayoutInsetsTest"
+ android:label="LayoutInsetsTest"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>