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

Skip to content
Commit aa04336b authored by Cam Bickel's avatar Cam Bickel
Browse files

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
parent 9c6750cf
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