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

Skip to content
Commit bc5e6524 authored by Jack He's avatar Jack He
Browse files

Allow PRIORITY_UNDEFINED when remote device is BONDING or BONDED

* When priority is undefined, it is likely that SDP has not completed
  and peer is initiating the connection. Allow this connection for HFP,
  A2DP, and HearingAid if the device is bonded or bonding.
* Added unit tests for various okToConnect methods

Bug: 78336562
Test: A2dpServiceTest, HeadsetServiceTest, HearingAidServiceTest
      let Benz NTG5 Star2 Car kit connect to DUT

Change-Id: I3e35fab38b485efa89b33c65a3980072a17b7272
(cherry picked from commit b65a4c16)
parent cb172374
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