From 757b968d7af9b3a9c2c1f37ec576a739c2676e99 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Tue, 30 Jul 2019 17:13:40 +0900 Subject: [PATCH] Add checking for multi-assistant platform feature Change-Id: I29d186d8f2824babd031c5ff0e42d8c1d447f8e1 --- client/ma.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/client/ma.c b/client/ma.c index 4dda7af..6c7ee1c 100644 --- a/client/ma.c +++ b/client/ma.c @@ -47,7 +47,7 @@ static int _assistant_info_index; static ma_h g_ma = NULL; -//static int g_feature_enabled = -1; +static int g_feature_enabled = -1; static int g_privilege_allowed = -1; static cynara *p_cynara = NULL; @@ -58,8 +58,6 @@ static void __ma_notify_error(void* data); static int __ma_get_feature_enabled() { - return 0; -/* if (0 == g_feature_enabled) { //LCOV_EXCL_START SLOG(LOG_ERROR, TAG_MAC, "[ERROR] Multi-assistant feature NOT supported"); @@ -86,7 +84,6 @@ static int __ma_get_feature_enabled() return MA_ERROR_NOT_SUPPORTED; } } -*/ return 0; } @@ -1484,4 +1481,4 @@ int ma_get_recording_audio_source_type(char** type) { } while (0 != ret); return ret; -} \ No newline at end of file +} -- 2.34.1