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
Loading
Please register or sign in to comment