diff options
| author | 2024-10-04 23:05:50 +0000 | |
|---|---|---|
| committer | 2024-10-15 15:07:45 +0000 | |
| commit | aa04336b3aa2b2beb4a0f659e3c7a207365b3696 (patch) | |
| tree | 0a8b673c096aef0ef47c4a61fdf14210bc1b28d1 /api/api_test.go | |
| parent | 9c6750cf75ba955169d955a79db428de92126a48 (diff) | |
audio: Only replace route info when Bluetooth device is bonded
This fixes a bug that causes non-Bluetooth devices with an `address` to
have their routeId and deviceName replaced with null.
The bug is fixed by detecting if the given AudioDeviceInfo is a bonded
Bluetooth device before attempting to replace its info.
Bug: b/371630439
Test: atest AudioManagerRouteControllerTest
Flag: EXEMPT bugfix
Change-Id: Ibe2452d064def3e57cfd88c0b6ed354e5dec6fd2
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions