diff options
author | Eric Laurent <elaurent@google.com> | 2010-11-02 12:02:20 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2010-12-01 09:45:33 -0800 |
commit | b87b53d7a863da9049b66621d98caf720b8dec60 (patch) | |
tree | de7f55c80579126533d962ddf016e5df23fa5f81 /libs/rs/rsg_ScriptJavaClass.cpp | |
parent | 981a72a1506f7e6e42747b9aa0be2001795c6619 (diff) |
Fix issue 3142808.
There is a bug in the way audio policy manager handles A2DP interface suspend/restore
when SCO is used. This bug is not new but has been triggered by a change in the timing
of the events received by audio policy manager when a call is setup and torn down
introduced by commit 164a8f86c7e48992691368c4895709c3bdb835a4.
The fix consists in grouping the control of A2DP suspended state in a single function
that is called systematically when conditions affecting this state are changed:
- call state change
- device connection/disconnection
- change in forced usage.
Change-Id: I46ee2399ee5547b60511fc6cfd32e2720091b0f8
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions