mpd/android/src
Sam Bazley 4983703375 Android: Detect output change with ACTION_AUDIO_BECOMING_NOISY
Improves the changes made in 57687779be by
using AudioManager.ACTION_AUDIO_BECOMING_NOISY rather than listening for
wired headset unplug events or Bluetooth headset disconnect events. This
method is more flexible, allowing the feature to work on other types of
audio output device, as well as Bluetooth devices that don't set their
device class correctly. This change also has the benefit of being more
responsive, pausing the audio before it is rerouted to the built-in
speaker.

https://developer.android.com/guide/topics/media-apps/volume-and-earphones
2022-01-04 16:42:53 +01:00
..
Bridge.java Android: add option to pause MPD when headphones disconnect 2021-07-26 19:02:47 +01:00
IMain.aidl Android: add option to pause MPD when headphones disconnect 2021-07-26 19:02:47 +01:00
IMainCallback.aidl android: Main is now a service 2018-08-19 23:35:49 +02:00
Loader.java copyright year 2021 2021-01-01 19:54:28 +01:00
Main.java Android: Detect output change with ACTION_AUDIO_BECOMING_NOISY 2022-01-04 16:42:53 +01:00
Receiver.java copyright year 2021 2021-01-01 19:54:28 +01:00
Settings.java Android: add option to pause MPD when headphones disconnect 2021-07-26 19:02:47 +01:00