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

Commit 63305a20 authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

Merge "Use CHECK() to verify that HIDL is installed" am: f091cf51 am: f15c41ff

am: 1e725faa

Change-Id: I8c00c2c44689c026f2e0e1837ab7794da34c0321
parents fa74edeb 1e725faa
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"));