aboutsummaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-06-10 17:26:22 -0700
committerScott Jackson <daneren2005@gmail.com>2014-06-10 17:26:22 -0700
commitcf2795ada0897f97fd4db963a103d05a8b64cb3a (patch)
tree86844cc0ad6924c24a9e4402a3fc3ea281064cb5 /AndroidManifest.xml
parentcc480686122e19c46f9e74c3c1227c9c8ff3b78c (diff)
downloaddsub-cf2795ada0897f97fd4db963a103d05a8b64cb3a.tar.gz
dsub-cf2795ada0897f97fd4db963a103d05a8b64cb3a.tar.bz2
dsub-cf2795ada0897f97fd4db963a103d05a8b64cb3a.zip
#360, #331 Change to use AUDIO_NOISY event. Fixes issues with both pausing during any bluetooth disconnect, and delay when music is playing after unplugging headphones
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml17
1 files changed, 7 insertions, 10 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f25aec29..4dbdbbd8 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -120,18 +120,15 @@
<receiver android:name="github.daneren2005.dsub.receiver.MediaButtonIntentReceiver">
<intent-filter>
- <action android:name="android.intent.action.MEDIA_BUTTON" />
- </intent-filter>
+ <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.AudioNoisyReceiver">
+ <intent-filter>
+ <action android:name="android.media.AUDIO_BECOMING_NOISY" />
+ </intent-filter>
+ </receiver>
<receiver android:name="github.daneren2005.dsub.receiver.A2dpIntentReceiver">
<intent-filter>