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

Commit 43bb005e authored by Whale Chang's avatar Whale Chang Committed by Gerrit Code Review
Browse files

Merge "Enable hfp offload if hfp software path is not enabled" into main

parents f79b0a0a dc54e0c5
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);
}