blob: 02414babd87aeac2908bc472ecce4a55ec9ead9a [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"
Raman Tenneti026dd072018-09-20 17:33:28 -070020 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"
Raman Tenneti6fd9d1e2019-10-16 15:15:46 -070027 android:targetSdkVersion="29"/>
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"
37 android:launchMode="singleTop">
Jack Hef9e434b2017-01-26 16:10:20 -080038
Hansong Zhang6ca14bc2018-04-26 12:26:49 -070039 <activity android:name="AudioPreview" android:theme="@android:style/Theme.Dialog"
40 android:taskAffinity=""
41 android:excludeFromRecents="true" android:exported="true" >
42 <intent-filter>
43 <action android:name="android.intent.action.VIEW" />
44 <category android:name="android.intent.category.DEFAULT" />
45 <data android:scheme="file"/>
46 <data android:mimeType="audio/*"/>
47 <data android:mimeType="application/ogg"/>
48 <data android:mimeType="application/x-ogg"/>
49 <data android:mimeType="application/itunes"/>
50 </intent-filter>
51 <intent-filter>
52 <action android:name="android.intent.action.VIEW" />
53 <category android:name="android.intent.category.DEFAULT" />
54 <category android:name="android.intent.category.BROWSABLE" />
55 <data android:scheme="http" />
56 <data android:mimeType="audio/*"/>
57 <data android:mimeType="application/ogg"/>
58 <data android:mimeType="application/x-ogg"/>
59 <data android:mimeType="application/itunes"/>
60 </intent-filter>
61 <intent-filter
62 android:priority="-1">
63 <action android:name="android.intent.action.VIEW" />
64 <category android:name="android.intent.category.DEFAULT" />
65 <category android:name="android.intent.category.BROWSABLE" />
66 <data android:scheme="content" />
67 <data android:mimeType="audio/*"/>
68 <data android:mimeType="application/ogg"/>
69 <data android:mimeType="application/x-ogg"/>
70 <data android:mimeType="application/itunes"/>
71 </intent-filter>
72 </activity>
73
Raman Tenneti73b89c82019-05-30 15:08:12 -070074 <activity android:name="com.android.music.MusicPicker"
75 android:label="@string/music_picker_title" android:exported="true" >
76 <!-- First way to invoke us: someone asks to get content of
77 any of the audio types we support. -->
78 <intent-filter>
79 <action android:name="android.intent.action.GET_CONTENT" />
80 <category android:name="android.intent.category.DEFAULT" />
81 <category android:name="android.intent.category.OPENABLE" />
82 <data android:mimeType="audio/*"/>
83 <data android:mimeType="application/ogg"/>
84 <data android:mimeType="application/x-ogg"/>
85 </intent-filter>
86 <!-- Second way to invoke us: someone asks to pick an item from
87 some media Uri. -->
88 <intent-filter>
89 <action android:name="android.intent.action.PICK" />
90 <category android:name="android.intent.category.DEFAULT" />
91 <category android:name="android.intent.category.OPENABLE" />
92 <data android:mimeType="vnd.android.cursor.dir/audio"/>
93 </intent-filter>
94 </activity>
95
Marco Nelissenff3d4372010-01-27 09:46:40 -080096 <service android:name="com.android.music.MediaPlaybackService"
Jack Hef02d3c62017-02-21 00:39:22 -050097 android:exported="true"
Raman Tenneti026dd072018-09-20 17:33:28 -070098 android:label="Android Open Source Music Playback Service">
The Android Open Source Project792a2202009-03-03 19:32:30 -080099 <intent-filter>
Jack Hef02d3c62017-02-21 00:39:22 -0500100 <action android:name="android.media.browse.MediaBrowserService" />
The Android Open Source Project792a2202009-03-03 19:32:30 -0800101 </intent-filter>
Jack Hef02d3c62017-02-21 00:39:22 -0500102 </service>
103
The Android Open Source Project792a2202009-03-03 19:32:30 -0800104 </application>
Jack Hef02d3c62017-02-21 00:39:22 -0500105
The Android Open Source Project792a2202009-03-03 19:32:30 -0800106</manifest>