From: Ji-hoon Lee Date: Tue, 30 Jul 2019 08:13:40 +0000 (+0900) Subject: Add checking for multi-assistant platform feature X-Git-Tag: submit/tizen/20190806.020345^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F211129%2F2;p=platform%2Fcore%2Fuifw%2Fmulti-assistant.git Add checking for multi-assistant platform feature Change-Id: I29d186d8f2824babd031c5ff0e42d8c1d447f8e1 --- 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 +}