1<!--
2  Copyright 2024 The Android Open Source Project
3
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7
8       http://www.apache.org/licenses/LICENSE-2.0
9
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15  -->
16<manifest
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    package="com.android.photopicker.tests">
19
20  <uses-permission
21      android:name="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS"/>
22
23  <application android:debuggable="true">
24    <uses-library android:name="android.test.runner"/>
25     <activity
26      android:name="com.android.photopicker.tests.HiltTestActivity"
27      android:exported="false"/>
28
29    <!-- A test provider to allow the test application to issue uri grants for selected media-->
30    <provider
31      android:name="com.android.photopicker.tests.utils.StubProvider"
32      android:authorities="photopickertest"
33      android:exported="false"
34      android:grantUriPermissions="true"
35    />
36  </application>
37
38  <instrumentation
39    android:name="com.android.photopicker.tests.HiltTestRunner"
40    android:targetPackage="com.android.photopicker.tests"
41    android:label="Tests for Android Photopicker"/>
42</manifest>
43