OSDN Git Service

Clear the A2DP active device within the native stack during cleanup
authorPavlin Radoslavov <pavlin@google.com>
Tue, 27 Feb 2018 06:53:05 +0000 (22:53 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Tue, 27 Feb 2018 06:59:09 +0000 (22:59 -0800)
commit2b13eb7b2ac17bea5ecfad9a6f34c4f4736bc68e
tree336c3ade4306a633bd6171cbd1db80218a7b5d84
parent235bfcc900f120db8f551e4744ebd7e4d035e691
Clear the A2DP active device within the native stack during cleanup

Use explicit SetActivePeer(RawAddress::kEmpty) for BtifAvSource and
BtifAvSink during Cleanup()

Also, replaced incorrectly classified BTIF_TRACE_WARNING() log messages
with LOG_INFO().

Bug: 73832547
Test: Manual - A2DP streaming, enable Location -> Bluetooth scanning,
      restart Bluetooth in Quick Settings
Change-Id: Ieeae8915a45dc0c98cd68bd4bb113424c2de74d9
btif/src/btif_av.cc