• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2024 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 -->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19     xmlns:tools="http://schemas.android.com/tools"
20     package="android.provider.cts.media">
21
22    <uses-sdk android:targetSdkVersion="28"/>
23
24    <!-- This is required for android.provider.cts.media.MediaStore_MetadataKeysTest
25            when upgrading targetSdkVersion to R+
26    <queries>
27        <intent>
28            <action android:name="android.provider.action.REVIEW"
29                 />
30        </intent>
31    </queries> -->
32
33    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
34    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
35    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
36    <uses-permission android:name="android.permission.MANAGE_MEDIA"/>
37
38    <application>
39        <uses-library android:name="android.test.runner"/>
40        <!-- (b/197919878) Disable startup provider due to resource loading issue. -->
41        <provider
42            android:name="androidx.startup.InitializationProvider"
43            android:authorities="${applicationId}.androidx-startup"
44            tools:node="remove" />
45
46    </application>
47
48    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
49         android:targetPackage="android.provider.cts.media"
50         android:label="CTS tests of android.providers.media">
51    </instrumentation>
52</manifest>
53