aboutsummaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
blob: d819c971c6f40052f66d2d375637f0e5388ab179 (plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="github.daneren2005.dsub"
          android:installLocation="internalOnly"
          android:versionCode="68"
          android:versionName="4.2.0Beta2">

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
	<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
	<uses-permission android:name="android.permission.BLUETOOTH"/>
	<uses-permission android:name="android.permission.READ_LOGS"/>
	
	<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
	<uses-feature android:name="android.hardware.microphone" android:required="false" />

    <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19"/>

    <supports-screens android:anyDensity="true" android:xlargeScreens="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/>

    <application android:label="@string/common.appname"
    	android:backupAgent="github.daneren2005.dsub.util.SettingsBackupAgent"
    	android:icon="@drawable/launch"
    	android:theme="@style/Theme.DSub.Holo">

		<activity android:name="github.daneren2005.dsub.activity.SubsonicFragmentActivity"
				  android:configChanges="orientation|keyboardHidden"
				  android:launchMode="standard">
			<intent-filter>
				<action android:name="android.intent.action.MAIN"/>
				<category android:name="android.intent.category.LAUNCHER"/>
			</intent-filter>
		</activity>

		<activity android:name="github.daneren2005.dsub.activity.DownloadActivity"
                  android:configChanges="keyboardHidden"
                  android:launchMode="singleTask"/>

        <activity android:name="github.daneren2005.dsub.activity.SettingsActivity"
                  android:configChanges="orientation|keyboardHidden"
                  android:launchMode="singleTask"/>

        <activity android:name="github.daneren2005.dsub.activity.VoiceQueryReceiverActivity"
                  android:launchMode="singleTask">
            <intent-filter>
                <action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name="github.daneren2005.dsub.activity.QueryReceiverActivity"
                  android:launchMode="singleTask">
            <intent-filter>
                <action android:name="android.intent.action.SEARCH"/>
            </intent-filter>
            <meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
        </activity>

        <service android:name="github.daneren2005.dsub.service.DownloadServiceImpl"
                 android:label="Subsonic Download Service"/>

        <receiver android:name="github.daneren2005.dsub.receiver.MediaButtonIntentReceiver">
            <intent-filter android:priority="999">
                <action android:name="android.intent.action.MEDIA_BUTTON" />
            </intent-filter>
        </receiver>

        <receiver android:name="github.daneren2005.dsub.receiver.BluetoothIntentReceiver">
            <intent-filter>
                <action android:name="android.bluetooth.a2dp.action.SINK_STATE_CHANGED"/>
				<action android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED"/> <!-- API Level 11 -->
				<action android:name="android.bluetooth.device.action.ACL_CONNECTED"/>
				<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
            </intent-filter>
        </receiver>
		
		<receiver android:name="github.daneren2005.dsub.receiver.A2dpIntentReceiver">
			<intent-filter>
				<action android:name="android.music.playstatusrequest"/>
			</intent-filter>
		</receiver>

        <receiver
			android:name="github.daneren2005.dsub.provider.DSubWidget4x1"
			android:label="@string/widget.4x1">
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
            </intent-filter>
            <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget4x1"/>
        </receiver>
		<receiver
			android:name="github.daneren2005.dsub.provider.DSubWidget4x2"
			android:label="@string/widget.4x2">
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
            </intent-filter>
            <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget4x2"/>
        </receiver>
		<receiver
			android:name="github.daneren2005.dsub.provider.DSubWidget4x3"
			android:label="@string/widget.4x3">
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
            </intent-filter>
            <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget4x3"/>
        </receiver>
		<receiver
			android:name="github.daneren2005.dsub.provider.DSubWidget4x4"
			android:label="@string/widget.4x4">
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
            </intent-filter>
            <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget4x4"/>
        </receiver>

        <provider android:name="github.daneren2005.dsub.provider.DSubSearchProvider"
                  android:authorities="github.daneren2005.dsub.provider.DSubSearchProvider"/>

        <meta-data android:name="android.app.default_searchable"
                   android:value="github.daneren2005.dsub.activity.QueryReceiverActivity"/>
                   
        <meta-data android:name="com.google.android.backup.api_key"
        	android:value="AEdPqrEAAAAIUhOMtwa_eG-f0oYUHnetl_Cz7cO9zae8ZXOK5w"/>

    </application>

</manifest>