commit | 663ec308801a34de82db9ab993f0e906da690f89 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Jan 08 07:55:33 2010 -0800 |
committer | Eric Laurent <elaurent@google.com> | Fri Jan 08 08:48:18 2010 -0800 |
tree | 3d6637a050fe486d5586fde2278dd08e647899c9 | |
parent | 063d03ed0882582840c7db610635aa89c1a01eec [diff] |
Fix issue 2361949: A2DP suspend parameters set wrongly. Move reset of A2DP suspend state from handleSinkStateChange() in BluetoothA2dpService to BluetoothA2dp.ACTION_SINK_STATE_CHANGED intent receiver in AudioService. Previous implementation could cause a false reset of suspend state if a new sink attempted to connect while A2DP was suspended. New implementation only resets A2DP suspend state when a new sink is actually connected.