summaryrefslogtreecommitdiffstats
path: root/vpn/java/android
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-11-12 12:09:06 -0800
committerEric Laurent <elaurent@google.com>2009-11-12 12:09:06 -0800
commit923d7d721d37f6ba5148e7d79d61a4fa48e79df2 (patch)
tree79d0aae61449c8c048cfc494cf5a3354174749dc /vpn/java/android
parent3c58d279abed1da56b0ece74ded5854c509a42a4 (diff)
downloadframeworks_base-923d7d721d37f6ba5148e7d79d61a4fa48e79df2.zip
frameworks_base-923d7d721d37f6ba5148e7d79d61a4fa48e79df2.tar.gz
frameworks_base-923d7d721d37f6ba5148e7d79d61a4fa48e79df2.tar.bz2
Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.
The headset state indicated by HeadsetObserver in the broadcast intent ACTION_HEADSET_PLUG was not 0 or 1 as specified in the java doc but contained a bit field indicating the type of headset connected. Modified HeadsetObserver to broacast a state conforming to java doc. Added an extra to intent ACTION_HEADSET_PLUG to indicate if headset has a microphone or not. Removed handling of non standard headset indications from HeadsetObserver. Removed platform specific devices from output devices defined in AudioSystem. Modified AudioService to use new ACTION_HEADSET_PLUG intent extra instead of bitfield in state.
Diffstat (limited to 'vpn/java/android')
0 files changed, 0 insertions, 0 deletions