-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathAndroidManifest.xml
executable file
·70 lines (67 loc) · 3.11 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.smithdtyler.prettygoodmusicplayer"
android:versionCode="72"
android:versionName="3.3.3" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="19"
tools:overrideLibrary="android.support.v13"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<application
android:allowBackup="true"
android:icon="@drawable/ic_pgmp_launcher"
android:label="@string/app_name"
android:theme="@style/AppBaseTheme" >
<!-- Set the artist list to launch mode single task to prevent multiple instances -->
<!-- This fixes an error where exiting the application just brings up another instance -->
<!-- See https://developer.android.com/guide/topics/manifest/activity-element.html#lmode -->
<activity
android:name="com.smithdtyler.prettygoodmusicplayer.ArtistList"
android:label="@string/app_name"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.CATEGORY_APP_MUSIC" />
</intent-filter>
</activity>
<activity
android:name="com.smithdtyler.prettygoodmusicplayer.SettingsActivity"
android:label="@string/title_activity_settings">
</activity>
<activity
android:name="com.smithdtyler.prettygoodmusicplayer.AlbumList"
android:label="@string/title_activity_album_list"
>
</activity>
<activity
android:name="com.smithdtyler.prettygoodmusicplayer.SongList"
android:label="@string/title_activity_song_list"
>
</activity>
<activity
android:name="com.smithdtyler.prettygoodmusicplayer.NowPlaying"
android:label="@string/title_activity_now_playing"
android:exported="true"
>
</activity>
<!-- The service has android:exported="true" because that's needed for
control from the notification. Not sure why it causes a warning... -->
<service
android:name="com.smithdtyler.prettygoodmusicplayer.MusicPlaybackService"
android:icon="@drawable/ic_pgmp_launcher"
android:exported="true"
>
</service>
<receiver android:name="com.smithdtyler.prettygoodmusicplayer.MusicBroadcastReceiver"
android:enabled="true">
<intent-filter android:priority="2147483647" >
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
</application>
</manifest>