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

Commit 1e725faa 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

Change-Id: I008018491d3a92a8acb023fd08ddf7bf835a645e
parents 6ddbdcd4 f15c41ff
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"));