1<?xml version="1.0" encoding="utf-8"?>
2<!--
3   Copyright 2018 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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18          package="androidx.media.test">
19    <uses-sdk android:targetSdkVersion="${target-sdk-version}"/>
20
21    <application>
22        <activity android:name="androidx.media.MediaStubActivity"
23                  android:label="MediaStubActivity"
24                  android:screenOrientation="nosensor"
25                  android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
26            <intent-filter>
27                <action android:name="android.intent.action.MAIN" />
28                <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />
29            </intent-filter>
30        </activity>
31
32        <activity android:name="androidx.media.MockActivity" />
33
34        <!-- Keep the test services synced together with the MockMediaSessionService2 -->
35        <service android:name="androidx.media.MockMediaSessionService2">
36            <intent-filter>
37                <action android:name="android.media.MediaSessionService2" />
38            </intent-filter>
39            <meta-data android:name="android.media.session" android:value="TestSession" />
40        </service>
41        <!-- Keep the test services synced together with the MockMediaLibraryService -->
42        <service android:name="androidx.media.MockMediaLibraryService2">
43            <intent-filter>
44                <action android:name="android.media.MediaLibraryService2" />
45            </intent-filter>
46            <meta-data android:name="android.media.session" android:value="TestLibrary" />
47        </service>
48
49        <receiver android:name="androidx.media.session.MediaButtonReceiver" >
50            <intent-filter>
51                <action android:name="android.intent.action.MEDIA_BUTTON" />
52            </intent-filter>
53        </receiver>
54    </application>
55</manifest>
56