summaryrefslogtreecommitdiff
path: root/android/main.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-02-18 15:53:25 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-02-28 15:22:45 +0100
commit3f7daeb0e8ef5301d2c33d10e8036bb5db337d27 (patch)
treea210da85312e0a81f91c87604a27344202295fe0 /android/main.c
parenta3b0e736af821d4d8bc620fdc83d333f7b241b88 (diff)
downloadbluez-3f7daeb0e8ef5301d2c33d10e8036bb5db337d27.tar.gz
android: Add support for disabling notifications in IPC
Diffstat (limited to 'android/main.c')
-rw-r--r--android/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/main.c b/android/main.c
index 01f0b9212..bd1bcb91b 100644
--- a/android/main.c
+++ b/android/main.c
@@ -250,7 +250,8 @@ static void adapter_ready(int err, const bdaddr_t *addr)
info("Adapter initialized");
hal_ipc = ipc_init(BLUEZ_HAL_SK_PATH, sizeof(BLUEZ_HAL_SK_PATH),
- HAL_SERVICE_ID_MAX, ipc_disconnected, NULL);
+ HAL_SERVICE_ID_MAX, true,
+ ipc_disconnected, NULL);
if (!hal_ipc) {
error("Failed to initialize IPC");
exit(EXIT_FAILURE);