Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 98aefcbc authored by Sandeep Samdaria's avatar Sandeep Samdaria
Browse files

SetActivePeer should only update the active peer

Problem: While creating a peer, FindOrCreatePeer assigns the
active peer if there is no active peer device assigned. As a
result SetActivePeer results in a no-op.

Solution: FindOrCreatePeer should not assign the active peer
until the device is connected. Once AVDTP connection is connected,
then only the active peer should be updated.

Test: m seahawk-userdebug.
Test: atest bluetooth_test_gd_unit
Bug: 305110114
Change-Id: I53b22aa7dcad65be9ecb6ad45fe5df88bf4739a6
parent a0316f9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment