The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright (C) 2017 The Android Open Source Project |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 4 | |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 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. |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 16 | --> |
Raman Tenneti | 026dd07 | 2018-09-20 17:33:28 -0700 | [diff] [blame] | 17 | |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 18 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 19 | package="com.android.music" |
Raman Tenneti | 026dd07 | 2018-09-20 17:33:28 -0700 | [diff] [blame] | 20 | xmlns:tools="http://schemas.android.com/tools"> |
Jack He | f9e434b | 2017-01-26 16:10:20 -0800 | [diff] [blame] | 21 | |
Raman Tenneti | 25a4933 | 2018-10-17 11:25:20 -0700 | [diff] [blame] | 22 | <!-- Package Name --> |
| 23 | <original-package android:name="com.android.music"/> |
| 24 | |
| 25 | <!-- SDK Versions --> |
| 26 | <uses-sdk android:minSdkVersion="19" |
Raman Tenneti | 6fd9d1e | 2019-10-16 15:15:46 -0700 | [diff] [blame^] | 27 | android:targetSdkVersion="29"/> |
Raman Tenneti | 25a4933 | 2018-10-17 11:25:20 -0700 | [diff] [blame] | 28 | |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 29 | <!-- Permissions --> |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
Jack He | f9e434b | 2017-01-26 16:10:20 -0800 | [diff] [blame] | 31 | |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 32 | <!-- App Declaration --> |
| 33 | <application |
Raman Tenneti | 026dd07 | 2018-09-20 17:33:28 -0700 | [diff] [blame] | 34 | android:allowBackup="true" |
| 35 | android:label="@string/app_name" |
| 36 | android:supportsRtl="true" |
| 37 | android:launchMode="singleTop"> |
Jack He | f9e434b | 2017-01-26 16:10:20 -0800 | [diff] [blame] | 38 | |
Hansong Zhang | 6ca14bc | 2018-04-26 12:26:49 -0700 | [diff] [blame] | 39 | <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 Tenneti | 73b89c8 | 2019-05-30 15:08:12 -0700 | [diff] [blame] | 74 | <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 Nelissen | ff3d437 | 2010-01-27 09:46:40 -0800 | [diff] [blame] | 96 | <service android:name="com.android.music.MediaPlaybackService" |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 97 | android:exported="true" |
Raman Tenneti | 026dd07 | 2018-09-20 17:33:28 -0700 | [diff] [blame] | 98 | android:label="Android Open Source Music Playback Service"> |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 99 | <intent-filter> |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 100 | <action android:name="android.media.browse.MediaBrowserService" /> |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 101 | </intent-filter> |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 102 | </service> |
| 103 | |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 104 | </application> |
Jack He | f02d3c6 | 2017-02-21 00:39:22 -0500 | [diff] [blame] | 105 | |
The Android Open Source Project | 792a220 | 2009-03-03 19:32:30 -0800 | [diff] [blame] | 106 | </manifest> |