blob: 83c29c25accdd9fb774d324a885cf7469dc51179 [file] [log] [blame]
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +09001<?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 Åkersten765021b2019-02-01 12:34:46 -080029 android:theme="@style/PumpTheme"
Christofer Åkerstenda8b47a2019-02-01 14:42:33 -080030 android:icon="@null"
Christofer Åkersten77532d12019-02-01 14:48:32 -080031 android:supportsRtl="true"
Christofer Åkerstenc15df9a2019-02-01 14:38:04 -080032 android:allowBackup="false"
Christofer Åkersten765021b2019-02-01 12:34:46 -080033 android:appCategory="video">
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090034
Christofer Åkersten88285e62019-02-01 15:05:20 -080035 <activity
36 android:name=".activity.PumpActivity"
37 android:screenOrientation="portrait">
38
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090039 <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 Åkersten88285e62019-02-01 15:05:20 -080044
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090045 </activity>
46
Christofer Åkersten88285e62019-02-01 15:05:20 -080047 <activity
Christofer Åkersteneb940072019-03-08 18:57:34 -080048 android:name=".activity.ActivityStarterActivity"
49 android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"/>
50
51 <activity
Christofer Åkersten88285e62019-02-01 15:05:20 -080052 android:name=".activity.ArtistDetailsActivity"
53 android:screenOrientation="portrait"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090054
Christofer Åkersten88285e62019-02-01 15:05:20 -080055 <activity
56 android:name=".activity.AlbumDetailsActivity"
57 android:screenOrientation="portrait"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090058
Christofer Åkersten88285e62019-02-01 15:05:20 -080059 <activity
60 android:name=".activity.GenreDetailsActivity"
61 android:screenOrientation="portrait"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090062
Christofer Åkersten88285e62019-02-01 15:05:20 -080063 <activity
64 android:name=".activity.PlaylistDetailsActivity"
65 android:screenOrientation="portrait"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090066
Christofer Åkersten88285e62019-02-01 15:05:20 -080067 <activity
68 android:name=".activity.MovieDetailsActivity"
69 android:screenOrientation="portrait"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090070
Christofer Åkersten88285e62019-02-01 15:05:20 -080071 <activity
72 android:name=".activity.SeriesDetailsActivity"
73 android:screenOrientation="portrait"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090074
Christofer Åkersten88285e62019-02-01 15:05:20 -080075 <activity
76 android:name=".activity.OtherDetailsActivity"
77 android:screenOrientation="portrait"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090078
Gyumin Sim09734a02018-12-20 13:16:59 +090079 <activity
80 android:name=".activity.AudioPlayerActivity"
Christofer Åkersten88285e62019-02-01 15:05:20 -080081 android:configChanges="keyboardHidden|orientation|screenSize">
82
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090083 <intent-filter>
84 <action android:name="android.intent.action.VIEW"/>
85 <category android:name="android.intent.category.DEFAULT"/>
Christofer Åkersten3091c8b2019-02-01 13:44:09 -080086 <!-- TODO(b/123768134) Investigate which schemes, mime types, etc to support -->
Christofer Åkerstend776ef32019-02-01 12:36:28 -080087 <data android:scheme="content"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090088 <data android:mimeType="audio/*"/>
89 </intent-filter>
Christofer Åkersten88285e62019-02-01 15:05:20 -080090
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090091 </activity>
92
Gyumin Sim09734a02018-12-20 13:16:59 +090093 <activity
94 android:name=".activity.VideoPlayerActivity"
Christofer Åkersten88285e62019-02-01 15:05:20 -080095 android:configChanges="keyboardHidden|orientation|screenSize">
96
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090097 <intent-filter>
98 <action android:name="android.intent.action.VIEW"/>
99 <category android:name="android.intent.category.DEFAULT"/>
Christofer Åkersten3091c8b2019-02-01 13:44:09 -0800100 <!-- TODO(b/123768100) Investigate which schemes, mime types, etc to support -->
Christofer Åkerstend776ef32019-02-01 12:36:28 -0800101 <data android:scheme="content"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +0900102 <data android:mimeType="video/*"/>
103 </intent-filter>
Christofer Åkersten88285e62019-02-01 15:05:20 -0800104
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +0900105 </activity>
106
Christofer Åkersten3f777362019-01-31 14:46:42 -0800107 <!-- TODO(b/123711288) Handle music app intents;
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +0900108 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 Åkersten3f777362019-01-31 14:46:42 -0800111 <!-- TODO(b/123711069) Handle play from search;
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +0900112 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>