From 10b8b4e693f039f916ac190e96297fb73906946f Mon Sep 17 00:00:00 2001 From: Wonnam Jang Date: Tue, 9 Oct 2018 00:03:08 +0900 Subject: [PATCH] Fix log Change-Id: Iec049e2f7a0028b47e882de0f771965eeada2ace Signed-off-by: Wonnam Jang --- src/multi_assistant_service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/multi_assistant_service.c b/src/multi_assistant_service.c index 6359402..b935d84 100644 --- a/src/multi_assistant_service.c +++ b/src/multi_assistant_service.c @@ -124,10 +124,10 @@ int mas_ui_client_change_assistant(char* app_id) void __message_port_cb(int local_port_id, const char* remote_app_id, const char* remote_port, bool trusted_remote_port, bundle* message, void* user_data) { char *command = NULL; - MAS_LOGD("Message from %s, command: %s", remote_app_id, command); - bundle_get_str(message, "command", &command); + MAS_LOGD("Message from %s, command: %s", remote_app_id, command); + if (!strncmp(command, "start", strlen(command))) { multi_assistant_service_plugin_start_recording(); } else if (!strncmp(command, "cancel", strlen(command))) { -- 2.34.1