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

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

Merge "hal: fix for voice + voip call concurrency"

parents 78313cfe cdce407b
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -302,12 +302,6 @@ static int update_call_states(struct audio_device *adev,
            no_of_calls_active++;
    }

    /* When there is only one call active, wait for audio policy manager to set
     * the mode to AUDIO_MODE_NORMAL and trigger routing to end the last call.
     */
    if (no_of_calls_active == 1 && call_state == CALL_INACTIVE)
        return 0;

    if (session) {
        session->state.new = call_state;
        voice_extn_is_in_call(adev, &is_in_call);