Loading flags/hfp.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -15,13 +15,6 @@ flag { bug: "308497929" } flag { name: "use_dsp_codec_when_controller_does_not_support" namespace: "bluetooth" description: "use codec on the DSP when the BT controller does not support it" bug: "308838380" } flag { name: "is_sco_managed_by_audio" namespace: "bluetooth" Loading system/device/src/esco_parameters.cc +16 −18 Original line number Diff line number Diff line Loading @@ -371,8 +371,7 @@ enh_esco_params_t esco_parameters_for_codec(esco_codec_t codec, bool offload) { ESCO_NUM_CODECS); std::vector<uint8_t> codecIds; if (com::android::bluetooth::flags:: use_dsp_codec_when_controller_does_not_support()) { auto controller = bluetooth::shim::GetController(); if (controller == nullptr) { log::warn("controller is null"); Loading @@ -391,7 +390,6 @@ enh_esco_params_t esco_parameters_for_codec(esco_codec_t codec, bool offload) { } } } } if (offload) { if (codec == ESCO_CODEC_SWB_Q0 || codec == ESCO_CODEC_SWB_Q1 || Loading Loading
flags/hfp.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -15,13 +15,6 @@ flag { bug: "308497929" } flag { name: "use_dsp_codec_when_controller_does_not_support" namespace: "bluetooth" description: "use codec on the DSP when the BT controller does not support it" bug: "308838380" } flag { name: "is_sco_managed_by_audio" namespace: "bluetooth" Loading
system/device/src/esco_parameters.cc +16 −18 Original line number Diff line number Diff line Loading @@ -371,8 +371,7 @@ enh_esco_params_t esco_parameters_for_codec(esco_codec_t codec, bool offload) { ESCO_NUM_CODECS); std::vector<uint8_t> codecIds; if (com::android::bluetooth::flags:: use_dsp_codec_when_controller_does_not_support()) { auto controller = bluetooth::shim::GetController(); if (controller == nullptr) { log::warn("controller is null"); Loading @@ -391,7 +390,6 @@ enh_esco_params_t esco_parameters_for_codec(esco_codec_t codec, bool offload) { } } } } if (offload) { if (codec == ESCO_CODEC_SWB_Q0 || codec == ESCO_CODEC_SWB_Q1 || Loading