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