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

Commit c4a11b4e authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk Committed by Jack He
Browse files

AudioDeviceBroker: Extend createBtDeviceInfo with LE_AUDIO_BROADCAST

Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: build

Merged-In: I389ce1fb8f6a763e991a00f3bebfac0648086722
Change-Id: I389ce1fb8f6a763e991a00f3bebfac0648086722
(cherry picked from commit 59afd5cc)
parent 8a3803d4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -642,6 +642,9 @@ import java.util.concurrent.atomic.AtomicBoolean;
                    audioDevice = AudioSystem.DEVICE_IN_BLE_HEADSET;
                }
                break;
            case BluetoothProfile.LE_AUDIO_BROADCAST:
                audioDevice = AudioSystem.DEVICE_OUT_BLE_BROADCAST;
                break;
            default: throw new IllegalArgumentException("Invalid profile " + d.mInfo.getProfile());
        }
        return new BtDeviceInfo(d, device, state, audioDevice, codec);