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

Skip to content
Commit a67c924d authored by chelseahao's avatar chelseahao
Browse files

Use `audioSharingInteractor.audioSharingAvailable` instead of calling BluetoothUtils.

Also fix a minor bug: previously the dialog only listen to `onAclConnectionStateChanged` when a device is disconnecting as we assume that `onProfileConnectionStateChanged` must be triggered right after if the device is connecting, however this is not true for BLE devices as they don't have profiles. We should remove that restriction.

Test: atest
Bug: b/360759048 b/358276696
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ibc6c9f3801722daa1be5556ded18061c64d0ddfb
parent 067646f5
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