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

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

Merge "hal: reset backend config when close a2dp"

parents be726a26 4a1fad64
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1326,8 +1326,9 @@ void audio_extn_a2dp_set_parameters(struct str_parms *parms)
         val = atoi(value);
         if (audio_is_a2dp_out_device(val)) {
             ALOGV("Received device dis- connect request");
             reset_a2dp_enc_config_params();
             close_a2dp_output();
             reset_a2dp_enc_config_params();
             a2dp_reset_backend_cfg();
         }
         goto param_handled;
     }