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

Commit ecea932a authored by Alex Shabalin's avatar Alex Shabalin
Browse files

Prefer the name from the route for Bluetooth devices.

Whenever available use the name from the MediaRoute2Info object because
`CachedBluetoothDevice#getName` results in an IPC call.

Bug: 414668703
Flag: com.android.media.flags.avoid_binder_calls_during_render
Test: atest SettingsLibRoboTests:com.android.settingslib.media.BluetoothMediaDeviceTest,
 on a device.
Change-Id: I15b872410cf72987d8f4938116a9a273776aa952
parent f992c647
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