Taras Antoshchuk | d6df604 | 2020-01-22 10:44:12 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Taras Antoshchuk | d6df604 | 2020-01-22 10:44:12 +0100 | [diff] [blame] | 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" |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 19 | package="android.dynamicmime.update"> |
Taras Antoshchuk | d6df604 | 2020-01-22 10:44:12 +0100 | [diff] [blame] | 20 | <application android:testOnly="true"> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 21 | <uses-library android:name="android.test.runner"/> |
| 22 | <activity android:name="android.dynamicmime.common.activity.FirstActivity" |
| 23 | android:exported="true"> |
Taras Antoshchuk | d6df604 | 2020-01-22 10:44:12 +0100 | [diff] [blame] | 24 | <intent-filter> |
| 25 | <action android:name="android.intent.action.SEND"/> |
| 26 | <action android:name="android.dynamicmime.update.FILTER_INFO_HOOK_group_first"/> |
| 27 | <category android:name="android.intent.category.DEFAULT"/> |
| 28 | <data android:mimeGroup="group_first"/> |
| 29 | </intent-filter> |
| 30 | </activity> |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 31 | <activity android:name="android.dynamicmime.common.activity.SecondActivity" |
| 32 | android:exported="true"> |
Taras Antoshchuk | d6df604 | 2020-01-22 10:44:12 +0100 | [diff] [blame] | 33 | <intent-filter> |
| 34 | <action android:name="android.intent.action.SEND"/> |
| 35 | <action android:name="android.dynamicmime.update.FILTER_INFO_HOOK_group_second"/> |
| 36 | <category android:name="android.intent.category.DEFAULT"/> |
| 37 | </intent-filter> |
| 38 | </activity> |
| 39 | |
| 40 | <receiver android:name="android.dynamicmime.app.AppMimeGroupsReceiver" |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 41 | android:exported="true"> |
Taras Antoshchuk | d6df604 | 2020-01-22 10:44:12 +0100 | [diff] [blame] | 42 | <intent-filter> |
| 43 | <action android:name="android.dynamicmime.UPDATE_MIME_GROUP_REQUEST"/> |
| 44 | </intent-filter> |
| 45 | </receiver> |
| 46 | </application> |
| 47 | |
Ashwini Oruganti | 62e39bb | 2020-05-29 16:14:30 -0700 | [diff] [blame] | 48 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
| 49 | android:targetPackage="android.dynamicmime.update"> |
Taras Antoshchuk | d6df604 | 2020-01-22 10:44:12 +0100 | [diff] [blame] | 50 | </instrumentation> |
| 51 | </manifest> |