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

Skip to content
Commit 92abe9f7 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Invalidate the bonded status when the device is deleted

When a connected device is removed, the security record is removed from the persistent storage immediately but not entirely from the control blocks. If the devices attempt to repair, the remnants of the device record in the control blocks lead the stack to believe that the device is bonded. This triggers the bond loss handling which attempts to remove the security record before the repairing is continued. Thus an unnecessary BOND_NONE bond state change event is generated.

Test: m com.android.btservices
Bug: 295441750

Change-Id: Ic76924e3329ff660ef5e7a5614e3ab572fbce284
parent 5400d131
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