Add system_background type for vc_mgr_set_command_list_from_file() API 83/239883/3
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 30 Jul 2020 09:04:47 +0000 (18:04 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 31 Jul 2020 03:00:39 +0000 (12:00 +0900)
Change-Id: I404da413b8981ee1a362d8525397c73d5edf7c73
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
common/vc_json_parser.c

index d6be24536d83779be85820374e6a48c33f2cfc35..63e838b79d9370cb83aa8ba2765bfb2a62201f77 100644 (file)
@@ -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");
        }