Don't trigger AVDTP Suspend in response to AVDTP Suspend+Start from remote
If the remote device sent us AVDTP Suspend, and then AVDTP Start, don't trigger AVDTP Suspend from the local device in response to the AVDTP Start. Also: * Add a call btif_av_stream_start_offload() inside btif_a2dp_on_started() if we were started remotely. * Fix the order of calling btif_a2dp_on_started() and triggering an internal BTIF_AV_SUSPEND_STREAM_REQ_EVT event. Otherwise, BTA Suspend might be called before btif_av_stream_start_offload() Bug: 110015851 Bug: 110186160 Test: Manual Change-Id: I908d19f8caf5130b96a64153ff39bd4b52879713 Merged-In: I908d19f8caf5130b96a64153ff39bd4b52879713 (cherry picked from commit 7e425cef6df8fc45b1aa54fb5d39d3afeb7bb369)
Loading
Please register or sign in to comment