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

Commit 83c130f9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Align the logic with a2dp & le audio offload property concept"

parents da47f8d9 3389de74
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -49,8 +49,8 @@ struct codec_manager_impl {
      const std::vector<AudioSetConfiguration>& adsp_capabilities) {
      const std::vector<AudioSetConfiguration>& adsp_capabilities) {
    offload_enable_ = osi_property_get_bool(
    offload_enable_ = osi_property_get_bool(
                          "ro.bluetooth.leaudio_offload.supported", false) &&
                          "ro.bluetooth.leaudio_offload.supported", false) &&
                      osi_property_get_bool(
                      !osi_property_get_bool(
                          "persist.bluetooth.leaudio_offload.enabled", true);
                          "persist.bluetooth.leaudio_offload.disabled", true);
    if (offload_enable_ == false) {
    if (offload_enable_ == false) {
      LOG_INFO("offload disabled");
      LOG_INFO("offload disabled");
      return;
      return;