1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2020 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.dynamicmime.testapp"> 20 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> 21 <application> 22 <uses-library android:name="android.test.runner"/> 23 <activity android:name="android.dynamicmime.common.activity.FirstActivity" 24 android:exported="true"> 25 <intent-filter> 26 <action android:name="android.intent.action.SEND"/> 27 <action android:name="android.dynamicmime.testapp.FILTER_INFO_HOOK_group_first"/> 28 <category android:name="android.intent.category.DEFAULT"/> 29 <data android:mimeGroup="group_first"/> 30 </intent-filter> 31 </activity> 32 <activity android:name="android.dynamicmime.common.activity.SecondActivity" 33 android:exported="true"> 34 <intent-filter> 35 <action android:name="android.intent.action.SEND"/> 36 <action android:name="android.dynamicmime.testapp.FILTER_INFO_HOOK_group_second"/> 37 <category android:name="android.intent.category.DEFAULT"/> 38 <data android:mimeGroup="group_second"/> 39 </intent-filter> 40 </activity> 41 42 <activity android:name="android.dynamicmime.common.activity.TwoGroupsActivity" 43 android:exported="true"> 44 <intent-filter> 45 <action android:name="android.intent.action.SEND"/> 46 <category android:name="android.intent.category.DEFAULT"/> 47 <action android:name="android.dynamicmime.testapp.FILTER_INFO_HOOK_group_both"/> 48 <data android:mimeGroup="group_first"/> 49 <data android:mimeGroup="group_second"/> 50 </intent-filter> 51 </activity> 52 53 <activity android:name="android.dynamicmime.common.activity.TwoGroupsAndTypeActivity" 54 android:exported="true"> 55 <intent-filter> 56 <action android:name="android.intent.action.SEND"/> 57 <category android:name="android.intent.category.DEFAULT"/> 58 <action android:name="android.dynamicmime.testapp.FILTER_INFO_HOOK_groups_and_type"/> 59 <data android:mimeType="text/plain"/> 60 <data android:mimeGroup="group_first"/> 61 <data android:mimeGroup="group_second"/> 62 </intent-filter> 63 </activity> 64 </application> 65 66 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 67 android:targetPackage="android.dynamicmime.testapp"> 68 </instrumentation> 69</manifest> 70