OSDN Git Service
A2DP: ACK A2dp success to HAL from AV started state.
In a corner case, when A2dp success was acked to HAL from
opened state, HAL used to call queued up suspend request even
before AV state can be moved to started. Since suspend was
received in opened state, it was acked back immediately and
UIPC socket close operations were triggered from HAL. However,
media task was preparing to read over UIPC socket. This race
condition caused socket-read operation to go on forever.
Change-Id: I8833d57f1a50b260cb35f0bf490aee83b074af68