Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 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 | |
| 18 | <manifest |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | package="com.android.pump"> |
| 21 | |
| 22 | <uses-permission android:name="android.permission.INTERNET"/> |
| 23 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 24 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
| 25 | |
| 26 | <application |
| 27 | android:name=".app.PumpApplication" |
| 28 | android:label="Personal Universal MediaPlayer" |
| 29 | android:theme="@style/PumpTheme"> |
| 30 | |
| 31 | <activity android:name=".activity.PumpActivity"> |
| 32 | <intent-filter> |
| 33 | <action android:name="android.intent.action.MAIN"/> |
| 34 | <action android:name="android.intent.action.VIEW"/> |
| 35 | <category android:name="android.intent.category.LAUNCHER"/> |
| 36 | </intent-filter> |
| 37 | </activity> |
| 38 | |
| 39 | <activity android:name=".activity.ArtistDetailsActivity"/> |
| 40 | |
| 41 | <activity android:name=".activity.AlbumDetailsActivity"/> |
| 42 | |
| 43 | <activity android:name=".activity.GenreDetailsActivity"/> |
| 44 | |
| 45 | <activity android:name=".activity.PlaylistDetailsActivity"/> |
| 46 | |
| 47 | <activity android:name=".activity.MovieDetailsActivity"/> |
| 48 | |
| 49 | <activity android:name=".activity.SeriesDetailsActivity"/> |
| 50 | |
| 51 | <activity android:name=".activity.OtherDetailsActivity"/> |
| 52 | |
Gyumin Sim | 09734a0 | 2018-12-20 13:16:59 +0900 | [diff] [blame] | 53 | <activity |
| 54 | android:name=".activity.AudioPlayerActivity" |
| 55 | android:configChanges="keyboard|keyboardHidden|orientation|screenSize"> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 56 | <intent-filter> |
| 57 | <action android:name="android.intent.action.VIEW"/> |
| 58 | <category android:name="android.intent.category.DEFAULT"/> |
Christofer Åkersten | 3091c8b | 2019-02-01 13:44:09 -0800 | [diff] [blame^] | 59 | <!-- TODO(b/123768134) Investigate which schemes, mime types, etc to support --> |
Christofer Åkersten | d776ef3 | 2019-02-01 12:36:28 -0800 | [diff] [blame] | 60 | <data android:scheme="content"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 61 | <data android:mimeType="audio/*"/> |
| 62 | </intent-filter> |
| 63 | </activity> |
| 64 | |
Gyumin Sim | 09734a0 | 2018-12-20 13:16:59 +0900 | [diff] [blame] | 65 | <activity |
| 66 | android:name=".activity.VideoPlayerActivity" |
| 67 | android:configChanges="keyboard|keyboardHidden|orientation|screenSize"> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 68 | <intent-filter> |
| 69 | <action android:name="android.intent.action.VIEW"/> |
| 70 | <category android:name="android.intent.category.DEFAULT"/> |
Christofer Åkersten | 3091c8b | 2019-02-01 13:44:09 -0800 | [diff] [blame^] | 71 | <!-- TODO(b/123768100) Investigate which schemes, mime types, etc to support --> |
Christofer Åkersten | d776ef3 | 2019-02-01 12:36:28 -0800 | [diff] [blame] | 72 | <data android:scheme="content"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 73 | <data android:mimeType="video/*"/> |
| 74 | </intent-filter> |
| 75 | </activity> |
| 76 | |
Christofer Åkersten | 3f77736 | 2019-01-31 14:46:42 -0800 | [diff] [blame] | 77 | <!-- TODO(b/123711288) Handle music app intents; |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 78 | https://developer.android.com/reference/android/content/Intent.html#CATEGORY_APP_MUSIC |
| 79 | https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_MUSIC_PLAYER --> |
| 80 | |
Christofer Åkersten | 3f77736 | 2019-01-31 14:46:42 -0800 | [diff] [blame] | 81 | <!-- TODO(b/123711069) Handle play from search; |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 82 | https://developer.android.com/guide/components/intents-common#PlaySearch |
| 83 | https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH |
| 84 | https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_MEDIA_SEARCH |
| 85 | https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_TEXT_OPEN_FROM_SEARCH |
| 86 | https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_VIDEO_PLAY_FROM_SEARCH --> |
| 87 | |
| 88 | </application> |
| 89 | |
| 90 | </manifest> |