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

Commit d6a9f90f authored by Shiv Maliyappanahalli's avatar Shiv Maliyappanahalli Committed by android-build-merger
Browse files

Revert "hal: Fix voice session setup failure"

am: 606a4b46

* commit '606a4b46':
  Revert "hal: Fix voice session setup failure"
parents 6047c474 606a4b46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1861,7 +1861,7 @@ snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devi
        goto exit;
    }

    if (popcount(devices) == 2 && !voice_is_in_call(adev)) {
    if (popcount(devices) == 2) {
        if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADPHONE |
                        AUDIO_DEVICE_OUT_SPEAKER)) {
            snd_device = SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES;
+1 −1
Original line number Diff line number Diff line
@@ -1737,7 +1737,7 @@ snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devi
        goto exit;
    }

    if (popcount(devices) == 2 && !voice_is_in_call(adev)) {
    if (popcount(devices) == 2) {
        if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADPHONE |
                        AUDIO_DEVICE_OUT_SPEAKER)) {
            if (my_data->external_spk_1)