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

Commit f15c41ff 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

Change-Id: Ie4c283f10611062df08cfc7f6520b3a31e6363cc
parents 3b89ae6d f091cf51
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"));