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

Commit cbcbc368 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "RootCanal: Avoid a couple string copies" am: a382f969 am: c890ba43...

Merge "RootCanal: Avoid a couple string copies" am: a382f969 am: c890ba43 am: 335ffbe0 am: ecdcb708 am: dd97f68e

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1819233

Change-Id: Idaff090ed55b95835c56f46c3c9c771e3793ad91
parents 73965a1d dd97f68e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ using std::vector;
namespace test_vendor_lib {

HciSocketDevice::HciSocketDevice(std::shared_ptr<AsyncDataChannel> socket,
                                 std::string properties_filename)
                                 const std::string& properties_filename)
    : DualModeController(properties_filename), socket_(socket) {
  advertising_interval_ms_ = std::chrono::milliseconds(1000);

+2 −2
Original line number Diff line number Diff line
@@ -34,12 +34,12 @@ using android::net::AsyncDataChannel;
class HciSocketDevice : public DualModeController {
 public:
  HciSocketDevice(std::shared_ptr<AsyncDataChannel> socket,
                  std::string properties_filename);
                  const std::string& properties_filename);
  ~HciSocketDevice() = default;

  static std::shared_ptr<HciSocketDevice> Create(
      std::shared_ptr<AsyncDataChannel> socket,
      std::string properties_filename) {
      const std::string& properties_filename) {
    return std::make_shared<HciSocketDevice>(socket, properties_filename);
  }