aboutsummaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-04-07 08:11:32 -0700
committerScott Jackson <daneren2005@gmail.com>2015-04-07 08:11:32 -0700
commitafcf016a1f08576318a5af5c086efae03e0f62f8 (patch)
tree510c41c4b631470dcc4c0f62d638079b5afb6383 /AndroidManifest.xml
parentb0f611451e627f520711a0f50da571385a6689d3 (diff)
downloaddsub-afcf016a1f08576318a5af5c086efae03e0f62f8.tar.gz
dsub-afcf016a1f08576318a5af5c086efae03e0f62f8.tar.bz2
dsub-afcf016a1f08576318a5af5c086efae03e0f62f8.zip
#477 Add option to auto play when plugging in headphones
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d44eb8ec..bf2262cb 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -24,6 +24,7 @@
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
@@ -86,7 +87,7 @@
</activity>
<service android:name=".service.DownloadService"
- android:label="Subsonic Download Service"/>
+ android:label="DSub Playback Service"/>
<service android:name="org.fourthline.cling.android.AndroidUpnpServiceImpl"/>
<service android:name="github.daneren2005.dsub.service.sync.AuthenticatorService">
<intent-filter>
@@ -137,6 +138,16 @@
android:resource="@xml/mostrecent_syncadapter" />
</service>
+ <service android:name="github.daneren2005.dsub.service.HeadphoneListenerService"
+ android:label="DSub Headphone Listener"/>
+ <receiver
+ android:name="github.daneren2005.dsub.receiver.BootReceiver">
+ <intent-filter>
+ <action
+ android:name="android.intent.action.BOOT_COMPLETED" />
+ </intent-filter>
+ </receiver>
+
<receiver android:name="github.daneren2005.dsub.receiver.MediaButtonIntentReceiver">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />