summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJason Simmons <jsimmons@google.com>2011-12-07 13:52:23 -0800
committerMike Lockwood <lockwood@google.com>2012-02-10 14:44:07 -0800
commita07aa3c4c7527eeb42346934a54cd79f3f15bef7 (patch)
tree7ff96edfca652a495e5d749516bba1233f95fe2b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3194ea94348bce8e7ee9f803698d877f46f8279a (diff)
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.
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions