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

Skip to content
Commit 1e376a18 authored by Qasim Javed's avatar Qasim Javed Committed by Jack He
Browse files

Save UUIDs using properties rather than the pairing_cb_t

The pairing_cb_t can be reset due to pairing state changes. We currently
store UUIDs in the pairing_cb_t structure. Instead of that, we should
save them using properties so that we can retrieve them later even if
pairing_cb_t was reset.

1. Upon discovery of classic UUIDs, get the existing "interesting" BLE
UUIDs that we know of (if any) and union them with the newly discovered
classic UUIDs.

2. Upon discovery of BLE UUIDs, get the existing UUIDs that we know of
   and union them with newly discovered "interesting" BLE UUIDs

This incorporates suggestions from Samsung because the original change
was causing issues with LE Audio.

Bug: 235407715
Bug: 239483439
Bug: 242007275
Tag: #refactor
Test: Samsung was running into issues with LE Audio and suggested the
change after they tested it. I tested it manually using a JBL Flip 5.

Change-Id: I31101f2607a3fe63bfec3b482f4dafceebe0ebe4
(cherry picked from commit 80fbe45254fa2d21b20b8e60c1358b87924afe31)
parent 891fd23e
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