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

Commit dfd33f01 authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

Merge "le_audio: Correct typo for BLE headset output communication device"...

Merge "le_audio: Correct typo for BLE headset output communication device" into sc-dev am: b3e5ecec am: c801f052

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/15371892

Change-Id: I7f05f7543758bd1fd31b2736b7b47b02c0f0e9ee
parents 656bb6fa c801f052
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -508,7 +508,7 @@ sp<DeviceDescriptor> Engine::getDeviceForInputSource(audio_source_t inputSource)
        switch (commDeviceType) {
        switch (commDeviceType) {
        case AUDIO_DEVICE_OUT_BLE_HEADSET:
        case AUDIO_DEVICE_OUT_BLE_HEADSET:
            device = availableDevices.getDevice(
            device = availableDevices.getDevice(
                    AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, String8(""), AUDIO_FORMAT_DEFAULT);
                    AUDIO_DEVICE_IN_BLE_HEADSET, String8(""), AUDIO_FORMAT_DEFAULT);
            break;
            break;
        case AUDIO_DEVICE_OUT_SPEAKER:
        case AUDIO_DEVICE_OUT_SPEAKER:
            device = availableDevices.getFirstExistingDevice({
            device = availableDevices.getFirstExistingDevice({