OSDN Git Service

Include only the Basic Capability for AVDTP GetCapabilities response
authorPavlin Radoslavov <pavlin@google.com>
Sat, 14 Apr 2018 05:07:30 +0000 (22:07 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Tue, 17 Apr 2018 10:40:00 +0000 (03:40 -0700)
commit148a10d424bd31e8cfa73ed450fdca6af2e92021
treef0199e1e457dfa379408faf48b0446ae310fe2f0
parentd5a053208998dc21e2d6c9e69451c31aa62298c6
Include only the Basic Capability for AVDTP GetCapabilities response

AVDTP GetCapabilities request should return only the Basic
Capabilities, as defined in the AVDTP 1.3 spec.
Otherwise, returning a capability such as Delay Reporting would
result in some remote devices droping the AVDTP connection

Also:
 * Print SEP protocol service capabilities per Stream Control
   Block when dumping the state to a bugreport
 * Add extra log messages

Bug: 77668253
Test: Manual: connect with Momentum M2 Headset and examine the
      AVDTP GetCapabilities response.

Change-Id: I34f2e8ff586115a38c3436b2b6300514f65346a9
bta/av/bta_av_aact.cc
btif/co/bta_av_co.cc
btif/src/btif_av.cc
stack/avdt/avdt_api.cc
stack/avdt/avdt_msg.cc