From: Suyeon Hwang Date: Thu, 30 Jul 2020 09:04:47 +0000 (+0900) Subject: Add system_background type for vc_mgr_set_command_list_from_file() API X-Git-Tag: submit/tizen/20200928.082017~4^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F239883%2F3;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Add system_background type for vc_mgr_set_command_list_from_file() API Change-Id: I404da413b8981ee1a362d8525397c73d5edf7c73 Signed-off-by: Suyeon Hwang --- diff --git a/common/vc_json_parser.c b/common/vc_json_parser.c index d6be245..63e838b 100644 --- a/common/vc_json_parser.c +++ b/common/vc_json_parser.c @@ -87,6 +87,8 @@ static int __vc_json_set_commands(JsonObject *root_obj, int type, char* invocati temp_type = strdup("widget"); } else if (VC_COMMAND_TYPE_SYSTEM == type) { temp_type = strdup("system"); + } else if (VC_COMMAND_TYPE_SYSTEM_BACKGROUND == type) { + temp_type = strdup("systemBackground"); } else if (VC_COMMAND_TYPE_EXCLUSIVE == type) { temp_type = strdup("exclusive"); }