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

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

Merge "hal: Avoid A2dp route updation for delayed a2dp/hfp disconnect"

parents 870686a3 1fb11cb4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3597,7 +3597,8 @@ static int out_set_parameters(struct audio_stream *stream, const char *kvpairs)
         * Avoid this by routing audio to speaker until standby.
         */
        if ((out->devices & AUDIO_DEVICE_OUT_ALL_A2DP) &&
                (val == AUDIO_DEVICE_NONE)) {
                (val == AUDIO_DEVICE_NONE) &&
                !audio_extn_a2dp_is_ready()) {
                val = AUDIO_DEVICE_OUT_SPEAKER;
        }
        /* To avoid a2dp to sco overlapping / BT device improper state