diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-06-10 17:26:22 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-06-10 17:26:22 -0700 |
commit | cf2795ada0897f97fd4db963a103d05a8b64cb3a (patch) | |
tree | 86844cc0ad6924c24a9e4402a3fc3ea281064cb5 /AndroidManifest.xml | |
parent | cc480686122e19c46f9e74c3c1227c9c8ff3b78c (diff) | |
download | dsub-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.xml | 17 |
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>
|