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

Skip to content
Commit b4f9410c authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Jakub Pawłowski
Browse files

LE Audio: Improve LE Audio device detection.

When user enters "pair new device" screen in settings, stack would
restart inquiry session every 10 seconds.
On each restart, we forget the device types in BTM layer for devices
without security record.
For LE Audio devices, this meant that if user clicked on it after
inquiry was restarted, but before some advertisement was received,
wrong transport would be used.
This patch fixes that, by using device type from BTIF layer, which is
persistent between inquiry restarts.

Bug: 317284831
Bug: 319511584
Test: Put LE Audio capable device into discoverable mode, then power it
off. Wait more than 10 seconds and click on it in Android settings.
Observe which transport was selected for connection attempt.

Change-Id: I2689ab373db33bd477ac2a096d478437979035fb
parent 1efda239
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