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

Commit e6fddfc2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "audio: Force audio to Speaker if requested during VOIP call"

parents c424d1c1 7428c4b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5012,7 +5012,7 @@ audio_devices_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strate
                device = availableOutputDeviceTypes & AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER;
                if (device) break;
            }
            if (mPhoneState != AUDIO_MODE_IN_CALL) {
            if (mPhoneState != AUDIO_MODE_IN_CALL && mPhoneState != AUDIO_MODE_IN_COMMUNICATION) {
                device = availableOutputDeviceTypes & AUDIO_DEVICE_OUT_USB_ACCESSORY;
                if (device) break;
                device = availableOutputDeviceTypes & AUDIO_DEVICE_OUT_USB_DEVICE;