Diff between fb1e40d65ceee30ad8f288cfc326092739368575 and fd02ec9d91d6446357d26b74f47949634b6ad6b9
Changed Files
| File | Additions | Deletions | Status |
| android/main.c | +1 | -1 | modified |
Full Patch
diff --git a/android/main.c b/android/main.c
index 2c587b1..71fc60b 100644
--- a/android/main.c
+++ b/android/main.c
@@ -254,7 +254,7 @@ static gboolean cmd_watch_cb(GIOChannel *io, GIOCondition cond,
switch (msg->service_id) {
case HAL_SERVICE_ID_CORE:
- handle_service_core(msg->opcode, buf + sizeof(*msg), msg->len);
+ handle_service_core(msg->opcode, msg->payload, msg->len);
break;
case HAL_SERVICE_ID_BLUETOOTH:
bt_adapter_handle_cmd(fd, msg->opcode, msg->payload, msg->len);