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

Commit 6381fa67 authored by Myles Watson's avatar Myles Watson
Browse files

HAL: Fix formatting

Bug: 184608842
Test: cert/run
Tag: #gd-refactor
Change-Id: I385cb906cf7b06a38d176a69a249edde1192abc4
parent 2021161f
Loading
Loading
Loading
Loading
+9 −11
Original line number Diff line number Diff line
@@ -228,9 +228,8 @@ class HciHalHidl : public HciHal {
    ASSERT(bt_hci_ != nullptr);
    auto death_link = bt_hci_->linkToDeath(hci_death_recipient_, 0);
    ASSERT_LOG(death_link.isOk(), "Unable to set the death recipient for the Bluetooth HAL");
    // Block allows allocation of a variable that might be bypassed by goto.
    {
    callbacks_ = new InternalHciCallbacks(btaa_logger_, btsnoop_logger_);

    if (bt_hci_1_1_ != nullptr) {
      bt_hci_1_1_->initialize_1_1(callbacks_);
    } else {
@@ -240,7 +239,6 @@ class HciHalHidl : public HciHal {
    // Don't timeout here, time out at a higher layer
    callbacks_->GetInitPromise()->get_future().wait();
  }
  }

  void Stop() override {
    ASSERT(bt_hci_ != nullptr);