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 <queries> 25 <package android:name="tests.mediaprovider.modern.testApp.TestAppA" /> 26 <package android:name="tests.mediaprovider.modern.testApp.TestAppB" /> 27 <package android:name="tests.mediaprovider.modern.testApp.TestAppC" /> 28 </queries> 29 30 <!-- This is required for android.provider.cts.media.MediaStore_MetadataKeysTest 31 when upgrading targetSdkVersion to R+ 32 <queries> 33 <intent> 34 <action android:name="android.provider.action.REVIEW" 35 /> 36 </intent> 37 </queries> --> 38 39 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 40 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> 41 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 42 <uses-permission android:name="android.permission.MANAGE_MEDIA"/> 43 44 <application> 45 <uses-library android:name="android.test.runner"/> 46 <!-- (b/197919878) Disable startup provider due to resource loading issue. --> 47 <provider 48 android:name="androidx.startup.InitializationProvider" 49 android:authorities="${applicationId}.androidx-startup" 50 tools:node="remove" /> 51 52 </application> 53 54 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 55 android:targetPackage="android.provider.cts.media" 56 android:label="CTS tests of android.providers.media"> 57 </instrumentation> 58</manifest> 59