OSDN Git Service

AVDTP: static IOP database for AVDTP SUSPEND
authorCheney Ni <cheneyni@google.com>
Wed, 27 Jan 2021 08:55:51 +0000 (16:55 +0800)
committerCheney Ni <cheneyni@google.com>
Wed, 27 Jan 2021 09:18:52 +0000 (17:18 +0800)
commit17bb2ebe616decae3c8511e78668ccc2ee11270f
tree7e2d03a428198e23f0ea84e43debc70c4ccaa48f
parent58f2d12f05a1e3974ec179156d87feedad028c1a
AVDTP: static IOP database for AVDTP SUSPEND

The stack marked a device as AVDTP SUSPEND unsupported if any runtime
failure was detected while suspending. It would keep streaming without
sending a SUSPEND command next time, but caused more issues like SCO
failure. Here is instructing a static IOP database to replace that old
detection, and suppose those issue devices will be fewer day by day.

Bug: 177101308
Tag: #refactor
Test: Add a device to database and check if not sending AVDTP SUSPEND
Change-Id: Id37902be88a285e9809f5bdc766757cb8323f2c2
bta/av/bta_av_aact.cc
device/include/interop.h
device/src/interop.cc