blob: dadeba5a2ce04bc437b1219c63504e5d0f63dd43 [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"
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 Sim09734a02018-12-20 13:16:59 +090053 <activity
54 android:name=".activity.AudioPlayerActivity"
55 android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090056 <intent-filter>
57 <action android:name="android.intent.action.VIEW"/>
58 <category android:name="android.intent.category.DEFAULT"/>
Christofer Åkersten3091c8b2019-02-01 13:44:09 -080059 <!-- TODO(b/123768134) Investigate which schemes, mime types, etc to support -->
Christofer Åkerstend776ef32019-02-01 12:36:28 -080060 <data android:scheme="content"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090061 <data android:mimeType="audio/*"/>
62 </intent-filter>
63 </activity>
64
Gyumin Sim09734a02018-12-20 13:16:59 +090065 <activity
66 android:name=".activity.VideoPlayerActivity"
67 android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090068 <intent-filter>
69 <action android:name="android.intent.action.VIEW"/>
70 <category android:name="android.intent.category.DEFAULT"/>
Christofer Åkersten3091c8b2019-02-01 13:44:09 -080071 <!-- TODO(b/123768100) Investigate which schemes, mime types, etc to support -->
Christofer Åkerstend776ef32019-02-01 12:36:28 -080072 <data android:scheme="content"/>
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090073 <data android:mimeType="video/*"/>
74 </intent-filter>
75 </activity>
76
Christofer Åkersten3f777362019-01-31 14:46:42 -080077 <!-- TODO(b/123711288) Handle music app intents;
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090078 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 Åkersten3f777362019-01-31 14:46:42 -080081 <!-- TODO(b/123711069) Handle play from search;
Christofer Åkersten75dbfbb2018-03-29 19:32:04 +090082 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>