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" |
Christofer Åkersten | 765021b | 2019-02-01 12:34:46 -0800 | [diff] [blame] | 29 | android:theme="@style/PumpTheme" |
Christofer Åkersten | da8b47a | 2019-02-01 14:42:33 -0800 | [diff] [blame] | 30 | android:icon="@null" |
Christofer Åkersten | 77532d1 | 2019-02-01 14:48:32 -0800 | [diff] [blame] | 31 | android:supportsRtl="true" |
Christofer Åkersten | c15df9a | 2019-02-01 14:38:04 -0800 | [diff] [blame] | 32 | android:allowBackup="false" |
Christofer Åkersten | 765021b | 2019-02-01 12:34:46 -0800 | [diff] [blame] | 33 | android:appCategory="video"> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 34 | |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 35 | <activity |
| 36 | android:name=".activity.PumpActivity" |
| 37 | android:screenOrientation="portrait"> |
| 38 | |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 39 | <intent-filter> |
| 40 | <action android:name="android.intent.action.MAIN"/> |
| 41 | <action android:name="android.intent.action.VIEW"/> |
| 42 | <category android:name="android.intent.category.LAUNCHER"/> |
| 43 | </intent-filter> |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 44 | |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 45 | </activity> |
| 46 | |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 47 | <activity |
Christofer Åkersten | eb94007 | 2019-03-08 18:57:34 -0800 | [diff] [blame] | 48 | android:name=".activity.ActivityStarterActivity" |
| 49 | android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"/> |
| 50 | |
| 51 | <activity |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 52 | android:name=".activity.ArtistDetailsActivity" |
| 53 | android:screenOrientation="portrait"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 54 | |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 55 | <activity |
| 56 | android:name=".activity.AlbumDetailsActivity" |
| 57 | android:screenOrientation="portrait"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 58 | |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 59 | <activity |
| 60 | android:name=".activity.GenreDetailsActivity" |
| 61 | android:screenOrientation="portrait"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 62 | |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 63 | <activity |
| 64 | android:name=".activity.PlaylistDetailsActivity" |
| 65 | android:screenOrientation="portrait"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 66 | |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 67 | <activity |
| 68 | android:name=".activity.MovieDetailsActivity" |
| 69 | android:screenOrientation="portrait"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 70 | |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 71 | <activity |
| 72 | android:name=".activity.SeriesDetailsActivity" |
| 73 | android:screenOrientation="portrait"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 74 | |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 75 | <activity |
| 76 | android:name=".activity.OtherDetailsActivity" |
| 77 | android:screenOrientation="portrait"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 78 | |
Gyumin Sim | 09734a0 | 2018-12-20 13:16:59 +0900 | [diff] [blame] | 79 | <activity |
| 80 | android:name=".activity.AudioPlayerActivity" |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 81 | android:configChanges="keyboardHidden|orientation|screenSize"> |
| 82 | |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 83 | <intent-filter> |
| 84 | <action android:name="android.intent.action.VIEW"/> |
| 85 | <category android:name="android.intent.category.DEFAULT"/> |
Christofer Åkersten | 3091c8b | 2019-02-01 13:44:09 -0800 | [diff] [blame] | 86 | <!-- TODO(b/123768134) Investigate which schemes, mime types, etc to support --> |
Christofer Åkersten | d776ef3 | 2019-02-01 12:36:28 -0800 | [diff] [blame] | 87 | <data android:scheme="content"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 88 | <data android:mimeType="audio/*"/> |
| 89 | </intent-filter> |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 90 | |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 91 | </activity> |
| 92 | |
Gyumin Sim | 09734a0 | 2018-12-20 13:16:59 +0900 | [diff] [blame] | 93 | <activity |
| 94 | android:name=".activity.VideoPlayerActivity" |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 95 | android:configChanges="keyboardHidden|orientation|screenSize"> |
| 96 | |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 97 | <intent-filter> |
| 98 | <action android:name="android.intent.action.VIEW"/> |
| 99 | <category android:name="android.intent.category.DEFAULT"/> |
Christofer Åkersten | 3091c8b | 2019-02-01 13:44:09 -0800 | [diff] [blame] | 100 | <!-- TODO(b/123768100) Investigate which schemes, mime types, etc to support --> |
Christofer Åkersten | d776ef3 | 2019-02-01 12:36:28 -0800 | [diff] [blame] | 101 | <data android:scheme="content"/> |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 102 | <data android:mimeType="video/*"/> |
| 103 | </intent-filter> |
Christofer Åkersten | 88285e6 | 2019-02-01 15:05:20 -0800 | [diff] [blame] | 104 | |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 105 | </activity> |
| 106 | |
Christofer Åkersten | 3f77736 | 2019-01-31 14:46:42 -0800 | [diff] [blame] | 107 | <!-- TODO(b/123711288) Handle music app intents; |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 108 | https://developer.android.com/reference/android/content/Intent.html#CATEGORY_APP_MUSIC |
| 109 | https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_MUSIC_PLAYER --> |
| 110 | |
Christofer Åkersten | 3f77736 | 2019-01-31 14:46:42 -0800 | [diff] [blame] | 111 | <!-- TODO(b/123711069) Handle play from search; |
Christofer Åkersten | 75dbfbb | 2018-03-29 19:32:04 +0900 | [diff] [blame] | 112 | https://developer.android.com/guide/components/intents-common#PlaySearch |
| 113 | https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH |
| 114 | https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_MEDIA_SEARCH |
| 115 | https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_TEXT_OPEN_FROM_SEARCH |
| 116 | https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_VIDEO_PLAY_FROM_SEARCH --> |
| 117 | |
| 118 | </application> |
| 119 | |
| 120 | </manifest> |