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

Commit d05eb79f authored by Marie Janssen's avatar Marie Janssen
Browse files

service: Update HAL call for arguments

The HAL now takes an additional argument for dumpsys arguments.

Change-Id: I286149e4d86ea50c4830a9f6d32e1d57025d01a7
parent 91fde05c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ static int read_energy_info()
    return BT_STATUS_SUCCESS;
}

static void dump(int fd)
static void dump(int fd, UNUSED_ATTR const char **arguments)
{
    btif_debug_dump(fd);
    alarm_debug_dump(fd);
+1 −1
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ android::status_t BluetoothBinderServer::dump(int fd, const android::Vector<andr
  }
  // TODO (jamuraa): enumerate profiles and dump profile information
  const bt_interface_t *iface = bluetooth::hal::BluetoothInterface::Get()->GetHALInterface();
  iface->dump(fd);
  iface->dump(fd, NULL);
  return android::NO_ERROR;
}