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