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

Commit 6554d1a8 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 7371618 from 8f2f4e91 to sc-release

Change-Id: Ia7e0e1d3cc00f5eb08084261f047f580220204b5
parents cb72a17b 8f2f4e91
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -186,6 +186,12 @@ void Engine::filterOutputDevicesForStrategy(legacy_strategy strategy,
                 (primaryOutput->getPolicyAudioPort()->getModuleVersionMajor() < 3))) {
                availableOutputDevices = availPrimaryOutputDevices;
            }

            // Do not use A2DP devices when in call but use them when not in call
            // (e.g for voice mail playback)
            availableOutputDevices.remove(availableOutputDevices.getDevicesFromTypes({
                    AUDIO_DEVICE_OUT_BLUETOOTH_A2DP, AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES,
                    AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER, }));
        }
        } break;
    case STRATEGY_ACCESSIBILITY: {