Merge "Set audio route name when LE audio device is connected"

This commit is contained in:
Kyunglyul Hyun
2022-03-25 09:25:22 +00:00
committed by Gerrit Code Review

View File

@@ -1102,6 +1102,7 @@ public class AudioDeviceInventory {
mConnectedDevices.put(DeviceInfo.makeDeviceListKey(device, address),
new DeviceInfo(device, name, address, AudioSystem.AUDIO_FORMAT_DEFAULT));
mDeviceBroker.postAccessoryPlugMediaUnmute(device);
setCurrentAudioRouteNameIfPossible(name, /*fromA2dp=*/false);
}
if (streamType == AudioSystem.STREAM_DEFAULT) {