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

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

Merge "Use CHECK() to verify that HIDL is installed"

parents 3279c898 2719a1f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
#include <base/logging.h>
#include <hwbinder/ProcessState.h>

#include <assert.h>
#include <signal.h>
#include <string.h>
#include <sys/types.h>
@@ -245,7 +244,8 @@ static future_t* hci_module_start_up(void) {
                               event_packet_ready, NULL);

  btHci = IBluetoothHci::getService();
  assert(btHci != nullptr);
  // If android.hardware.bluetooth* is not found, Bluetooth can not continue.
  CHECK(btHci != nullptr);
  LOG_INFO(LOG_TAG, "%s: IBluetoothHci::getService() returned %p (%s)",
            __func__, btHci.get(), (btHci->isRemote() ? "remote" : "local"));