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

Skip to content
Commit f6548320 authored by Huirong Liao's avatar Huirong Liao Committed by huirong liao
Browse files

Fix rc connect fail after remove bond

[Description]
Fix sometimes not notify framework connection status issue

[Root Cause]
when DUT is direct connect to RC, user remove bond of the RC.
whatever the RC connected or disconnected, it will not notify
framework the connection status, because bta_hh device will
be clear when remove bond.

[Solution]
so when remove bond and pending device is the connecting device,
then notify the framework disconnected, and cancel direct connect.

Bug: 245424920
Test: connect successfully after remove bond.
net_test_btif_hh unit test pass
Change-Id: Ib1a23c5bcd076e2e0a395b6b9a10fca90355d0df
parent 48196184
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