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

Commit c0ee18db authored by Vineeta Srivastava's avatar Vineeta Srivastava Committed by android-build-merger
Browse files

Revert "hal: voice: fix no sound issue in voice call"

am: 6ed310d1

Change-Id: I9aa83a97cf8a028343d0452467ed703d2c134ab9
parents 3c4b4e00 6ed310d1
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -124,10 +124,8 @@ int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id)
    session->state.current = CALL_INACTIVE;

    /* Disable sidetone only when no calls are active */
    if (!voice_is_call_state_active(adev)) {
        adev->voice.in_call = false;
    if (!voice_is_call_state_active(adev))
        voice_set_sidetone(adev, uc_info->out_snd_device, false);
    }

    ret = platform_stop_voice_call(adev->platform, session->vsid);