diff options
| author | 2024-10-12 17:50:52 +0800 | |
|---|---|---|
| committer | 2024-10-21 18:48:10 +0800 | |
| commit | a67c924de154782bb7f0ec5e283411caac4385e8 (patch) | |
| tree | 8f10f30b94c23e0e21fe394e53aa88a246147ad3 /api/api_test.go | |
| parent | 067646f5a2b7f0f068d8d65dc6d70db4abd37629 (diff) | |
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions