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

Commit 9d20e3c0 authored by Whale Chang's avatar Whale Chang Committed by Automerger Merge Worker
Browse files

Merge "Enable hfp offload if hfp software path is not enabled" into main am: 43bb005e

parents 01d1134a 43bb005e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -294,6 +294,13 @@ void init() {
    bluetooth::log::info("Successfully queried SCO codec capabilities.");
  }

#ifndef TARGET_FLOSS
  // If hfp software path is not enabled, fallback to offload path.
  if (!osi_property_get_bool("bluetooth.hfp.software_datapath.enabled", false)) {
    enable_offload(true);
  }
#endif

  close(fd);
}