summaryrefslogtreecommitdiff
path: root/java/tests/AndroidManifest.xml
diff options
context:
space:
mode:
author Joshua Trask <joshtrask@google.com> 2021-12-21 16:40:22 -0500
committer Matt Casey <mrcasey@google.com> 2022-01-19 17:20:53 -0500
commit5312de584408f56ede119bfbc094b39a090969be (patch)
tree6412b220fe4c389155c82a19d988bf2e0a7ab03b /java/tests/AndroidManifest.xml
parentbd05901f4029112b525732215c430f2bcc3ddfe4 (diff)
Initial (inherited) tests for unbundled chooser.
This required disabling the #testEditImageLogs method in the base class (ag/16520095) due to what could be a legitimate failure in the unbundled implementation; we should investigate imminently. Note this only brings the tests up to parity with the system implementation - existing issues in the system ChooserActivityTest (e.g. b/211669337) will presumably still occur in the unbundled version. No test flakes are known to be specific to unbundling (among those that are enabled after ag/16520095). Bug: 202165481,211669337 Test: `atest UnbundledChooserActivityTest` Change-Id: If8e2b896627661e59fa4a85aa3dd1eedb8eb91bc
Diffstat (limited to 'java/tests/AndroidManifest.xml')
-rw-r--r--java/tests/AndroidManifest.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/java/tests/AndroidManifest.xml b/java/tests/AndroidManifest.xml
index faf55ecf..1c7506b6 100644
--- a/java/tests/AndroidManifest.xml
+++ b/java/tests/AndroidManifest.xml
@@ -17,12 +17,17 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.intentresolver.tests">
- <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" />
+ <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30" />
- <uses-permission android:name="android.permission.START_ACTIVITY_AS_CALLER"/>
+ <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
+ <uses-permission android:name="android.permission.QUERY_USERS"/>
+ <uses-permission android:name="android.permission.READ_CLIPBOARD_IN_BACKGROUND"/>
+ <uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG"/>
<application>
<uses-library android:name="android.test.runner" />
+ <activity android:name="com.android.intentresolver.ChooserWrapperActivity" />
+ <activity android:name="com.android.internal.app.ChooserWrapperActivity" />
</application>
<instrumentation android:name="android.testing.TestableInstrumentation"