blob: 7788947ed7d6eeff6309cea8d8b1fe3bdddaa0f4 [file] [log] [blame]
The Android Open Source Project792a2202009-03-03 19:32:30 -08001<?xml version="1.0" encoding="utf-8"?>
Jack Hef02d3c62017-02-21 00:39:22 -05002<!--
3 Copyright (C) 2017 The Android Open Source Project
The Android Open Source Project792a2202009-03-03 19:32:30 -08004
Jack Hef02d3c62017-02-21 00:39:22 -05005 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.
The Android Open Source Project792a2202009-03-03 19:32:30 -080016-->
Raman Tenneti026dd072018-09-20 17:33:28 -070017
The Android Open Source Project792a2202009-03-03 19:32:30 -080018<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Jack Hef02d3c62017-02-21 00:39:22 -050019 package="com.android.music"
Damian Pateld2ccb7c2021-07-14 19:47:53 +000020 xmlns:tools="http://schemas.android.com/tools">
Jack Hef9e434b2017-01-26 16:10:20 -080021
Raman Tenneti25a49332018-10-17 11:25:20 -070022 <!-- Package Name -->
23 <original-package android:name="com.android.music"/>
24
25 <!-- SDK Versions -->
26 <uses-sdk android:minSdkVersion="19"
Damian Pateld2ccb7c2021-07-14 19:47:53 +000027 android:targetSdkVersion="30"/>
Raman Tenneti25a49332018-10-17 11:25:20 -070028
Jack Hef02d3c62017-02-21 00:39:22 -050029 <!-- Permissions -->
Jack Hef02d3c62017-02-21 00:39:22 -050030 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
Jack Hef9e434b2017-01-26 16:10:20 -080031
Jack Hef02d3c62017-02-21 00:39:22 -050032 <!-- App Declaration -->
33 <application
Raman Tenneti026dd072018-09-20 17:33:28 -070034 android:allowBackup="true"
35 android:label="@string/app_name"
36 android:supportsRtl="true"
Colin Marsch8ff92de2020-05-08 19:10:08 +000037 android:launchMode="singleTop"
38 android:requestLegacyExternalStorage="true">
Jack Hef9e434b2017-01-26 16:10:20 -080039
Hansong Zhang6ca14bc2018-04-26 12:26:49 -070040 <activity android:name="AudioPreview" android:theme="@android:style/Theme.Dialog"
41 android:taskAffinity=""
42 android:excludeFromRecents="true" android:exported="true" >
43 <intent-filter>
44 <action android:name="android.intent.action.VIEW" />
45 <category android:name="android.intent.category.DEFAULT" />
46 <data android:scheme="file"/>
47 <data android:mimeType="audio/*"/>
48 <data android:mimeType="application/ogg"/>
49 <data android:mimeType="application/x-ogg"/>
50 <data android:mimeType="application/itunes"/>
51 </intent-filter>
52 <intent-filter>
53 <action android:name="android.intent.action.VIEW" />
54 <category android:name="android.intent.category.DEFAULT" />
55 <category android:name="android.intent.category.BROWSABLE" />
56 <data android:scheme="http" />
57 <data android:mimeType="audio/*"/>
58 <data android:mimeType="application/ogg"/>
59 <data android:mimeType="application/x-ogg"/>
60 <data android:mimeType="application/itunes"/>
61 </intent-filter>
62 <intent-filter
63 android:priority="-1">
64 <action android:name="android.intent.action.VIEW" />
65 <category android:name="android.intent.category.DEFAULT" />
66 <category android:name="android.intent.category.BROWSABLE" />
67 <data android:scheme="content" />
68 <data android:mimeType="audio/*"/>
69 <data android:mimeType="application/ogg"/>
70 <data android:mimeType="application/x-ogg"/>
71 <data android:mimeType="application/itunes"/>
72 </intent-filter>
73 </activity>
74
Raman Tenneti73b89c82019-05-30 15:08:12 -070075 <activity android:name="com.android.music.MusicPicker"
76 android:label="@string/music_picker_title" android:exported="true" >
77 <!-- First way to invoke us: someone asks to get content of
78 any of the audio types we support. -->
79 <intent-filter>
80 <action android:name="android.intent.action.GET_CONTENT" />
81 <category android:name="android.intent.category.DEFAULT" />
82 <category android:name="android.intent.category.OPENABLE" />
83 <data android:mimeType="audio/*"/>
84 <data android:mimeType="application/ogg"/>
85 <data android:mimeType="application/x-ogg"/>
86 </intent-filter>
87 <!-- Second way to invoke us: someone asks to pick an item from
88 some media Uri. -->
89 <intent-filter>
90 <action android:name="android.intent.action.PICK" />
91 <category android:name="android.intent.category.DEFAULT" />
92 <category android:name="android.intent.category.OPENABLE" />
93 <data android:mimeType="vnd.android.cursor.dir/audio"/>
94 </intent-filter>
95 </activity>
96
Marco Nelissenff3d4372010-01-27 09:46:40 -080097 <service android:name="com.android.music.MediaPlaybackService"
Jack Hef02d3c62017-02-21 00:39:22 -050098 android:exported="true"
Raman Tenneti026dd072018-09-20 17:33:28 -070099 android:label="Android Open Source Music Playback Service">
The Android Open Source Project792a2202009-03-03 19:32:30 -0800100 <intent-filter>
Jack Hef02d3c62017-02-21 00:39:22 -0500101 <action android:name="android.media.browse.MediaBrowserService" />
The Android Open Source Project792a2202009-03-03 19:32:30 -0800102 </intent-filter>
Jack Hef02d3c62017-02-21 00:39:22 -0500103 </service>
104
The Android Open Source Project792a2202009-03-03 19:32:30 -0800105 </application>
Jack Hef02d3c62017-02-21 00:39:22 -0500106
The Android Open Source Project792a2202009-03-03 19:32:30 -0800107</manifest>