OSDN Git Service

A2DP Offload: Avoid Offload_start/stop from remote
authorSunny Kapdi <sunnyk@codeaurora.org>
Fri, 25 May 2018 16:29:16 +0000 (09:29 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Sat, 26 May 2018 05:48:38 +0000 (05:48 +0000)
commit33576935cfced474b6dde072dce9a89ed651eff4
tree9a3c40de0a7d7a9ce07f4ffb9d126c7162991357
parent35e9618558235ed58cfe794dac90c65a8be6a1ab
A2DP Offload: Avoid Offload_start/stop from remote

When DUT is A2DP Source, and remote initiates start
we suspend it immediately. There is no need to do
Offload_start/stop in this case. Also, the offload
start/stop was coming out of sync here.

Bug: 80284000
Test: Manual
Change-Id: If54c28188e7432ebcba639cd2fbfe81536c2f2e6
bta/av/bta_av_aact.cc
btif/src/btif_a2dp.cc