Add checking for multi-assistant platform feature 29/211129/2 accepted/tizen/unified/20190806.072131 submit/tizen/20190806.020345
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 30 Jul 2019 08:13:40 +0000 (17:13 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 5 Aug 2019 08:48:42 +0000 (17:48 +0900)
Change-Id: I29d186d8f2824babd031c5ff0e42d8c1d447f8e1

client/ma.c

index 4dda7af09f3f37ba134cf640c79bf369715ed9c6..6c7ee1ce42d690f787b63681612bd40b5144685a 100644 (file)
@@ -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
+}