blob: 2db6259aa6b3270f0eddd855be9af55a8a3c5136 [file] [log] [blame]
The Android Open Source Project792a2202009-03-03 19:32:30 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.android.music">
Jeff Hamilton69434742010-02-11 16:25:51 -060019
20 <original-package android:name="com.android.music" />
Marco Nelissen8b8d4522011-07-11 15:36:44 -070021 <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="9"/>
The Android Open Source Project792a2202009-03-03 19:32:30 -080022 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
23 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
24 <uses-permission android:name="android.permission.WAKE_LOCK" />
25 <uses-permission android:name="android.permission.INTERNET" />
26 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Marco Nelissen203c9302009-06-09 12:56:55 -070027 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Marco Nelissen6b507de2010-10-20 14:08:10 -070028 <uses-permission android:name="android.permission.BROADCAST_STICKY" />
The Android Open Source Project792a2202009-03-03 19:32:30 -080029
30 <application android:icon="@drawable/app_music"
31 android:label="@string/musicbrowserlabel"
32 android:taskAffinity="android.task.music"
Alex Klyubin186235d2015-04-07 10:32:48 -070033 android:allowTaskReparenting="true"
34 android:usesCleartextTraffic="true">
Marco Nelissen9882f542009-08-14 10:06:15 -070035 <meta-data
36 android:name="android.app.default_searchable"
Marco Nelissen31c65342010-04-06 16:24:24 -070037 android:value="com.android.music.QueryBrowserActivity"
Marco Nelissen9882f542009-08-14 10:06:15 -070038 />
Marco Nelissenff3d4372010-01-27 09:46:40 -080039 <activity android:name="com.android.music.MusicBrowserActivity"
Jeff Hamilton333bf192009-12-14 00:48:30 -060040 android:theme="@android:style/Theme.NoTitleBar"
Marco Nelissen87a4cb62010-09-17 09:14:17 -070041 android:exported="true"
Jeff Hamilton333bf192009-12-14 00:48:30 -060042 >
The Android Open Source Project792a2202009-03-03 19:32:30 -080043 <intent-filter>
44 <action android:name="android.intent.action.MAIN" />
Daniel Sandler0f5a68f2010-02-18 15:11:34 -050045 <action android:name="android.intent.action.MUSIC_PLAYER" />
The Android Open Source Project792a2202009-03-03 19:32:30 -080046 <category android:name="android.intent.category.DEFAULT" />
47 <category android:name="android.intent.category.LAUNCHER" />
Jeff Brownb2e67c52011-11-28 17:08:24 -080048 <category android:name="android.intent.category.APP_MUSIC" />
The Android Open Source Project792a2202009-03-03 19:32:30 -080049 </intent-filter>
Marco Nelissen9882f542009-08-14 10:06:15 -070050 </activity>
Marco Nelissenff3d4372010-01-27 09:46:40 -080051 <receiver android:name="com.android.music.MediaButtonIntentReceiver">
The Android Open Source Project792a2202009-03-03 19:32:30 -080052 <intent-filter>
53 <action android:name="android.intent.action.MEDIA_BUTTON" />
54 <action android:name="android.media.AUDIO_BECOMING_NOISY" />
55 </intent-filter>
56 </receiver>
57 <!-- This is the "current music playing" panel, which has special
58 launch behavior. We clear its task affinity, so it will not
59 be associated with the main media task and if launched
60 from a notification will not bring the rest of the media app
61 to the foreground. We make it singleTask so that when others
62 launch it (such as media) we will launch in to our own task.
63 We set clearTaskOnLaunch because the user
64 can go to a playlist from this activity, so if they later return
65 to it we want it back in its initial state. We exclude from
66 recents since this is accessible through a notification when
67 appropriate. -->
Marco Nelissen38bcd922010-03-19 13:00:37 -070068 <activity android:name="com.android.music.MediaPlaybackActivity"
The Android Open Source Project792a2202009-03-03 19:32:30 -080069 android:theme="@android:style/Theme.NoTitleBar"
70 android:label="@string/mediaplaybacklabel"
71 android:taskAffinity=""
72 android:launchMode="singleTask"
73 android:clearTaskOnLaunch="true"
Marco Nelissen87a4cb62010-09-17 09:14:17 -070074 android:excludeFromRecents="true"
75 android:exported="true" >
The Android Open Source Project792a2202009-03-03 19:32:30 -080076 <intent-filter>
77 <action android:name="android.intent.action.VIEW" />
78 <category android:name="android.intent.category.DEFAULT" />
79 <data android:scheme="content"/>
Marco Nelissen8d08ec22010-05-10 14:05:24 -070080 <data android:host="media"/>
The Android Open Source Project792a2202009-03-03 19:32:30 -080081 <data android:mimeType="audio/*"/>
82 <data android:mimeType="application/ogg"/>
83 <data android:mimeType="application/x-ogg"/>
The Android Open Source Projectc85f6772009-03-18 17:39:48 -070084 <data android:mimeType="application/itunes"/>
The Android Open Source Project792a2202009-03-03 19:32:30 -080085 </intent-filter>
86 <intent-filter>
87 <action android:name="com.android.music.PLAYBACK_VIEWER" />
88 <category android:name="android.intent.category.DEFAULT" />
89 </intent-filter>
90 </activity>
Marco Nelissenec0c57a2009-12-12 12:27:11 -080091
Marco Nelissen8d08ec22010-05-10 14:05:24 -070092 <activity android:name="AudioPreview" android:theme="@android:style/Theme.Dialog"
Marco Nelissen7aebe672010-10-07 14:59:01 -070093 android:taskAffinity=""
Marco Nelissen87a4cb62010-09-17 09:14:17 -070094 android:excludeFromRecents="true" android:exported="true" >
Marco Nelissen8d08ec22010-05-10 14:05:24 -070095 <intent-filter>
96 <action android:name="android.intent.action.VIEW" />
97 <category android:name="android.intent.category.DEFAULT" />
98 <data android:scheme="file"/>
99 <data android:mimeType="audio/*"/>
100 <data android:mimeType="application/ogg"/>
101 <data android:mimeType="application/x-ogg"/>
102 <data android:mimeType="application/itunes"/>
103 </intent-filter>
The Android Open Source Project792a2202009-03-03 19:32:30 -0800104 <intent-filter>
105 <action android:name="android.intent.action.VIEW" />
106 <category android:name="android.intent.category.DEFAULT" />
107 <category android:name="android.intent.category.BROWSABLE" />
108 <data android:scheme="http" />
Marco Nelissenbf1b6842010-10-07 11:08:54 -0700109 <data android:mimeType="audio/*"/>
110 <data android:mimeType="application/ogg"/>
111 <data android:mimeType="application/x-ogg"/>
112 <data android:mimeType="application/itunes"/>
Marco Nelissen8d08ec22010-05-10 14:05:24 -0700113 </intent-filter>
114 <intent-filter
115 android:priority="-1">
116 <action android:name="android.intent.action.VIEW" />
117 <category android:name="android.intent.category.DEFAULT" />
118 <category android:name="android.intent.category.BROWSABLE" />
119 <data android:scheme="content" />
Marco Nelissenbf1b6842010-10-07 11:08:54 -0700120 <data android:mimeType="audio/*"/>
121 <data android:mimeType="application/ogg"/>
122 <data android:mimeType="application/x-ogg"/>
123 <data android:mimeType="application/itunes"/>
The Android Open Source Project792a2202009-03-03 19:32:30 -0800124 </intent-filter>
125 </activity>
Marco Nelissen8d08ec22010-05-10 14:05:24 -0700126
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700127 <activity android:name="com.android.music.ArtistAlbumBrowserActivity" android:exported="false" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800128 <intent-filter>
129 <action android:name="android.intent.action.PICK" />
130 <category android:name="android.intent.category.DEFAULT" />
131 <data android:mimeType="vnd.android.cursor.dir/artistalbum"/>
132 </intent-filter>
133 </activity>
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700134 <activity android:name="com.android.music.AlbumBrowserActivity" android:exported="false" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800135 <intent-filter>
136 <action android:name="android.intent.action.PICK" />
137 <category android:name="android.intent.category.DEFAULT" />
138 <data android:mimeType="vnd.android.cursor.dir/album"/>
139 </intent-filter>
140 </activity>
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700141 <activity android:name="com.android.music.NowPlayingActivity" android:exported="false" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800142 <intent-filter>
143 <action android:name="android.intent.action.PICK" />
144 <category android:name="android.intent.category.DEFAULT" />
145 <data android:mimeType="vnd.android.cursor.dir/nowplaying"/>
146 </intent-filter>
147 </activity>
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700148 <activity android:name="com.android.music.TrackBrowserActivity" android:exported="false" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800149 <intent-filter>
150 <action android:name="android.intent.action.EDIT" />
151 <action android:name="android.intent.action.PICK" />
152 <category android:name="android.intent.category.DEFAULT" />
153 <data android:mimeType="vnd.android.cursor.dir/track"/>
154 </intent-filter>
155 </activity>
Marco Nelissenff3d4372010-01-27 09:46:40 -0800156 <activity android:name="com.android.music.QueryBrowserActivity"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700157 android:theme="@android:style/Theme.NoTitleBar"
Marco Nelissen3cc7d8f2010-10-14 12:14:11 -0700158 android:exported="true" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800159 <intent-filter>
160 <action android:name="android.intent.action.SEARCH" />
Marco Nelissen9882f542009-08-14 10:06:15 -0700161 <action android:name="android.intent.action.MEDIA_SEARCH" />
The Android Open Source Project792a2202009-03-03 19:32:30 -0800162 <category android:name="android.intent.category.DEFAULT" />
163 </intent-filter>
164 <meta-data
165 android:name="android.app.searchable"
166 android:resource="@xml/searchable"
167 />
168 </activity>
Marco Nelissenff3d4372010-01-27 09:46:40 -0800169 <activity android:name="com.android.music.PlaylistBrowserActivity"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700170 android:label="@string/musicbrowserlabel"
171 android:exported="true" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800172 <intent-filter>
173 <action android:name="android.intent.action.PICK" />
174 <category android:name="android.intent.category.DEFAULT" />
175 <data android:mimeType="vnd.android.cursor.dir/playlist"/>
176 </intent-filter>
177 <intent-filter>
178 <action android:name="android.intent.action.VIEW" />
179 <category android:name="android.intent.category.DEFAULT" />
180 <data android:mimeType="vnd.android.cursor.dir/playlist"/>
181 </intent-filter>
182 </activity>
Marco Nelissenff3d4372010-01-27 09:46:40 -0800183 <activity-alias android:name="com.android.music.PlaylistShortcutActivity"
184 android:targetActivity="com.android.music.PlaylistBrowserActivity"
Romain Guy88011102009-03-24 18:08:41 -0700185 android:label="@string/musicshortcutlabel"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700186 android:icon="@drawable/ic_launcher_shortcut_music_playlist"
187 android:exported="true" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800188
189 <intent-filter>
190 <action android:name="android.intent.action.CREATE_SHORTCUT" />
191 <category android:name="android.intent.category.DEFAULT" />
192 </intent-filter>
193
194 </activity-alias>
Marco Nelissenff3d4372010-01-27 09:46:40 -0800195 <activity android:name="com.android.music.VideoBrowserActivity"
The Android Open Source Project792a2202009-03-03 19:32:30 -0800196 android:taskAffinity="android.task.video"
197 android:label="@string/videobrowserlabel"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700198 android:icon="@drawable/app_video"
199 android:exported="false" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800200 <intent-filter>
201 <action android:name="android.intent.action.PICK" />
202 <category android:name="android.intent.category.DEFAULT" />
203 <data android:mimeType="vnd.android.cursor.dir/video"/>
204 </intent-filter>
205<!--
206 <intent-filter>
207 <action android:name="android.intent.action.MAIN" />
208 <category android:name="android.intent.category.DEFAULT" />
209 <category android:name="android.intent.category.LAUNCHER" />
210 </intent-filter>
211-->
212 </activity>
Marco Nelissenff3d4372010-01-27 09:46:40 -0800213 <activity android:name="com.android.music.MediaPickerActivity"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700214 android:label="@string/mediapickerlabel" android:exported="false" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800215<!--
216 <intent-filter>
217 <action android:name="android.intent.action.PICK" />
218 <category android:name="android.intent.category.DEFAULT" />
219 <data android:mimeType="media/*"/>
220 <data android:mimeType="audio/*"/>
221 <data android:mimeType="application/ogg"/>
222 <data android:mimeType="application/x-ogg"/>
223 <data android:mimeType="video/*"/>
224 </intent-filter>
225 <intent-filter>
226 <action android:name="android.intent.action.GET_CONTENT" />
227 <category android:name="android.intent.category.DEFAULT" />
228 <category android:name="android.intent.category.OPENABLE" />
229 <data android:mimeType="media/*"/>
230 <data android:mimeType="audio/*"/>
231 <data android:mimeType="application/ogg"/>
232 <data android:mimeType="application/x-ogg"/>
233 <data android:mimeType="video/*"/>
234 </intent-filter>
235-->
236 </activity>
Marco Nelissenff3d4372010-01-27 09:46:40 -0800237 <activity android:name="com.android.music.MusicPicker"
Dianne Hackborne91031b2010-10-05 13:06:41 -0700238 android:label="@string/music_picker_title" android:exported="true" >
The Android Open Source Project792a2202009-03-03 19:32:30 -0800239 <!-- First way to invoke us: someone asks to get content of
240 any of the audio types we support. -->
241 <intent-filter>
242 <action android:name="android.intent.action.GET_CONTENT" />
243 <category android:name="android.intent.category.DEFAULT" />
244 <category android:name="android.intent.category.OPENABLE" />
245 <data android:mimeType="audio/*"/>
246 <data android:mimeType="application/ogg"/>
247 <data android:mimeType="application/x-ogg"/>
248 </intent-filter>
249 <!-- Second way to invoke us: someone asks to pick an item from
250 some media Uri. -->
251 <intent-filter>
252 <action android:name="android.intent.action.PICK" />
253 <category android:name="android.intent.category.DEFAULT" />
254 <category android:name="android.intent.category.OPENABLE" />
255 <data android:mimeType="vnd.android.cursor.dir/audio"/>
256 </intent-filter>
257 </activity>
Marco Nelissenff3d4372010-01-27 09:46:40 -0800258 <activity android:name="com.android.music.CreatePlaylist"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700259 android:theme="@android:style/Theme.Dialog" android:exported="false" />
Marco Nelissenff3d4372010-01-27 09:46:40 -0800260 <activity android:name="com.android.music.RenamePlaylist"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700261 android:theme="@android:style/Theme.Dialog" android:exported="false" />
Marco Nelissenff3d4372010-01-27 09:46:40 -0800262 <activity android:name="com.android.music.WeekSelector"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700263 android:theme="@android:style/Theme.Dialog" android:exported="false" />
Marco Nelissenff3d4372010-01-27 09:46:40 -0800264 <activity android:name="com.android.music.DeleteItems"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700265 android:theme="@android:style/Theme.Dialog" android:exported="false" />
Marco Nelissenff3d4372010-01-27 09:46:40 -0800266 <activity android:name="com.android.music.ScanningProgress"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700267 android:theme="@android:style/Theme.Dialog" android:exported="false" />
Marco Nelissenff3d4372010-01-27 09:46:40 -0800268 <service android:name="com.android.music.MediaPlaybackService"
Marco Nelissen87a4cb62010-09-17 09:14:17 -0700269 android:exported="false" />
The Android Open Source Project792a2202009-03-03 19:32:30 -0800270
Marco Nelissenff3d4372010-01-27 09:46:40 -0800271 <receiver android:name="com.android.music.MediaAppWidgetProvider">
The Android Open Source Project792a2202009-03-03 19:32:30 -0800272 <intent-filter>
The Android Open Source Project490384b2009-03-11 12:11:59 -0700273 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
The Android Open Source Project792a2202009-03-03 19:32:30 -0800274 </intent-filter>
The Android Open Source Project490384b2009-03-11 12:11:59 -0700275 <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" />
The Android Open Source Project792a2202009-03-03 19:32:30 -0800276 </receiver>
277 </application>
278</manifest>