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

Skip to content
Commit f0a68745 authored by Qasim Javed's avatar Qasim Javed
Browse files

Store and report the union of SDP and BLE UUIDs.

We can discover UUIDs through SDP on classic or through GATT discovery
procedures in BLE. Currently, whichever finishes later ends up
overwriting the UUIDs discovered by the former. So if we first discover
some UUIDs using SDP and store them in the config file and then later
kick off a BLE discovery, when BLE reports discovered UUIDs we do not
check if there are any existing UUIDs discovered via SDP and happily
overwrite the config file with only the UUIDs discovered through BLE.

Bug: 235407715
Ignore-AOSP-First: Will revisit AOSP due to existing EIR related
divergence
Tag: #refactor
Test: Manual tests using JBL5 since we discover some UUIDs on it using
BLE and SDP. I made sure that the union of those is reported to Java.

Change-Id: I0c12296441e9c61ea766a969e6294ea192d9a1c4
parent ffc7b2bb
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