1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2021 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 package="android.photopicker.cts"> 20<application android:label="Photo Picker Device Tests"> 21 <uses-library android:name="android.test.runner" /> 22 <activity android:name="android.photopicker.cts.GetResultActivity" /> 23 24 <provider android:name="android.photopicker.cts.cloudproviders.CloudProviderPrimary" 25 android:authorities="android.photopicker.cts.cloudproviders.cloud_primary" 26 android:permission="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS" 27 android:exported="true"> 28 <intent-filter> 29 <action android:name="android.content.action.CLOUD_MEDIA_PROVIDER" /> 30 </intent-filter> 31 </provider> 32 33 <provider android:name="android.photopicker.cts.cloudproviders.CloudProviderSecondary" 34 android:authorities="android.photopicker.cts.cloudproviders.cloud_secondary" 35 android:permission="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS" 36 android:exported="true"> 37 <intent-filter> 38 <action android:name="android.content.action.CLOUD_MEDIA_PROVIDER" /> 39 </intent-filter> 40 </provider> 41 42 <provider android:name="android.photopicker.cts.cloudproviders.CloudProviderNoPermission" 43 android:authorities="android.photopicker.cts.cloudproviders.cloud_no_permission" 44 android:exported="true"> 45 <intent-filter> 46 <action android:name="android.content.action.CLOUD_MEDIA_PROVIDER" /> 47 </intent-filter> 48 </provider> 49 50 <provider android:name="android.photopicker.cts.cloudproviders.CloudProviderNoIntentFilter" 51 android:authorities="android.photopicker.cts.cloudproviders.cloud_no_intent_filter" 52 android:permission="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS" 53 android:exported="true"> 54 </provider> 55</application> 56 57<instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 58 android:targetPackage="android.photopicker.cts" 59 android:label="Device-only photo picker tests" /> 60 61</manifest> 62