summaryrefslogtreecommitdiff
path: root/android/hal-ipc.c
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>2013-10-25 17:52:03 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-10-28 11:24:12 +0200
commit9b67ebb0e6e8e8d3cf9c6d2518a2ffefb30cc172 (patch)
treea63bab1541fc4d150affd083464866aebd4467c0 /android/hal-ipc.c
parente2f41f5bde3075effd477edadea42d091b67c5f7 (diff)
downloadbluez-9b67ebb0e6e8e8d3cf9c6d2518a2ffefb30cc172.tar.gz
android/hal: Add skeleton for handling av notifications
Only default case is handled in skeleton
Diffstat (limited to 'android/hal-ipc.c')
-rw-r--r--android/hal-ipc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/hal-ipc.c b/android/hal-ipc.c
index 57238410d..f68e789c4 100644
--- a/android/hal-ipc.c
+++ b/android/hal-ipc.c
@@ -49,6 +49,9 @@ static void notification_dispatch(struct hal_hdr *msg, int fd)
case HAL_SERVICE_ID_BLUETOOTH:
bt_notify_adapter(msg->opcode, msg->payload, msg->len);
break;
+ case HAL_SERVICE_ID_A2DP:
+ bt_notify_av(msg->opcode, msg->payload, msg->len);
+ break;
default:
DBG("Unhandled notification service=%d opcode=0x%x",
msg->service_id, msg->opcode);