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

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

Merge cherrypicks of [14667281, 14664162, 14666944, 14667298, 14667299, 14667300] into sc-release

Change-Id: I6b30270ef59889ab96fe499cc4aaf32e45ab6dbd
parents 3346aa3b 9ff735f9
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -187,8 +187,10 @@ void Engine::filterOutputDevicesForStrategy(legacy_strategy strategy,
                availableOutputDevices = availPrimaryOutputDevices;
            }

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