Commits


Jason Simmons authored and Mike Lockwood committed a07aa3c4c75
Add an option that disables the AUDIO_BECOMING_NOISY intent send when a headset is hotplugged. HDMI audio hotplug is treated as a "headset" in the audio services. When a headset is unplugged, WiredAccessoryObserver sends an AUDIO_BECOMING_NOISY broadcast so that applications can take appropriate action (e.g. pausing audio if headphones were unplugged). However, on Tungsten, when you unplug HDMI audio, the Music2 service was getting the NOISY intent and pausing the transmitter media player. We could add Tungsten-specific code to Music2 to disable this behavior, but it's probably better to disable this broadcast entirely because applications on Tungsten probably shouldn't treat HDMI hotplug in the same way they treat headphone hotplug on phones.