summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-03-10 16:40:30 -0700
committerAshwini Oruganti <ashfall@google.com>2020-03-10 16:40:30 -0700
commitd783baf784a3383bd3232509eccb97b7461819f2 (patch)
treebc50c2deaafa793c11517bc5a49660e4ccf2e86f
parent72fcef13fa57edf60775a98995a60aa92e5f48fd (diff)
perftests: 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. Bug: 150232615 Test: TH Change-Id: I424ae4a6f9af40b301d9ed8bec4b6d28d0b15e36
-rw-r--r--apct-tests/perftests/autofill/AndroidManifest.xml6
-rw-r--r--apct-tests/perftests/core/AndroidManifest.xml6
-rw-r--r--apct-tests/perftests/packagemanager/AndroidManifest.xml3
-rw-r--r--apct-tests/perftests/packagemanager/apps/query-all/AndroidManifest.xml5
4 files changed, 13 insertions, 7 deletions
diff --git a/apct-tests/perftests/autofill/AndroidManifest.xml b/apct-tests/perftests/autofill/AndroidManifest.xml
index 1e3532b3c1ef..57595a213d20 100644
--- a/apct-tests/perftests/autofill/AndroidManifest.xml
+++ b/apct-tests/perftests/autofill/AndroidManifest.xml
@@ -18,7 +18,8 @@
<application>
<uses-library android:name="android.test.runner" />
- <activity android:name="android.perftests.utils.PerfTestActivity">
+ <activity android:name="android.perftests.utils.PerfTestActivity"
+ android:exported="true">
<intent-filter>
<action android:name="com.android.perftests.core.PERFTEST" />
</intent-filter>
@@ -27,7 +28,8 @@
<service
android:name="android.view.autofill.MyAutofillService"
android:label="PERF AutofillService"
- android:permission="android.permission.BIND_AUTOFILL_SERVICE" >
+ android:permission="android.permission.BIND_AUTOFILL_SERVICE"
+ android:exported="true">
<intent-filter>
<action android:name="android.service.autofill.AutofillService" />
</intent-filter>
diff --git a/apct-tests/perftests/core/AndroidManifest.xml b/apct-tests/perftests/core/AndroidManifest.xml
index 290f178fb669..36088992597f 100644
--- a/apct-tests/perftests/core/AndroidManifest.xml
+++ b/apct-tests/perftests/core/AndroidManifest.xml
@@ -13,7 +13,8 @@
<application>
<uses-library android:name="android.test.runner" />
- <activity android:name="android.perftests.utils.PerfTestActivity">
+ <activity android:name="android.perftests.utils.PerfTestActivity"
+ android:exported="true">
<intent-filter>
<action android:name="com.android.perftests.core.PERFTEST" />
</intent-filter>
@@ -23,7 +24,8 @@
<service
android:name="android.view.autofill.MyAutofillService"
android:label="PERF AutofillService"
- android:permission="android.permission.BIND_AUTOFILL_SERVICE" >
+ android:permission="android.permission.BIND_AUTOFILL_SERVICE"
+ android:exported="true">
<intent-filter>
<action android:name="android.service.autofill.AutofillService" />
</intent-filter>
diff --git a/apct-tests/perftests/packagemanager/AndroidManifest.xml b/apct-tests/perftests/packagemanager/AndroidManifest.xml
index 520f4b55d931..4bcd557695a3 100644
--- a/apct-tests/perftests/packagemanager/AndroidManifest.xml
+++ b/apct-tests/perftests/packagemanager/AndroidManifest.xml
@@ -76,7 +76,8 @@
<application>
<uses-library android:name="android.test.runner" />
- <activity android:name="android.perftests.utils.PerfTestActivity">
+ <activity android:name="android.perftests.utils.PerfTestActivity"
+ android:exported="true">
<intent-filter>
<action android:name="com.android.perftests.packagemanager.PERFTEST" />
</intent-filter>
diff --git a/apct-tests/perftests/packagemanager/apps/query-all/AndroidManifest.xml b/apct-tests/perftests/packagemanager/apps/query-all/AndroidManifest.xml
index e2cfa0430a32..977c1dc06194 100644
--- a/apct-tests/perftests/packagemanager/apps/query-all/AndroidManifest.xml
+++ b/apct-tests/perftests/packagemanager/apps/query-all/AndroidManifest.xml
@@ -18,7 +18,8 @@
package="com.android.perftests.appenumeration">
<application android:hasCode="false" >
- <activity android:name="android.perftests.utils.PerfTestActivity">
+ <activity android:name="android.perftests.utils.PerfTestActivity"
+ android:exported="true">
<intent-filter>
<action android:name="com.android.perftests.packagemanager.PERFTEST" />
</intent-filter>
@@ -78,4 +79,4 @@
<package android:name="com.android.perftests.appenumeration49" />
</queries>
-</manifest> \ No newline at end of file
+</manifest>