From 1b34b3e982ec22a410b071d95d5dba5228d0d7aa Mon Sep 17 00:00:00 2001 From: Junghyun Yeon Date: Tue, 15 Nov 2016 11:38:19 +0900 Subject: [PATCH] Implement for support-mode Related changes: [tpk-manifest-handlers] : https://review.tizen.org/gerrit/97699 [pkgmgr-info] : https://review.tizen.org/gerrit/97508/ Change-Id: I32f3ec5bc440782ad674fcb458c9c825629099ca Signed-off-by: Junghyun Yeon --- src/common/step/configuration/step_parse_manifest.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/common/step/configuration/step_parse_manifest.cc b/src/common/step/configuration/step_parse_manifest.cc index f54436b..e8fb977 100644 --- a/src/common/step/configuration/step_parse_manifest.cc +++ b/src/common/step/configuration/step_parse_manifest.cc @@ -191,6 +191,7 @@ bool StepParseManifest::FillPackageInfo(manifest_x* manifest) { manifest->ns = strdup(pkg_info->xmlns().c_str()); manifest->package = strdup(pkg_info->package().c_str()); manifest->nodisplay_setting = strdup(pkg_info->nodisplay_setting().c_str()); + manifest->support_mode = strdup(pkg_info->support_mode().c_str()); manifest->appsetting = strdup("false"); manifest->support_disable = strdup("false"); manifest->version = strdup(pkg_info->version().c_str()); @@ -336,6 +337,8 @@ bool StepParseManifest::FillWidgetApplication(manifest_x* manifest) { strdup(application.app_info.launch_mode().c_str()); widget_app->multiple = strdup("false"); widget_app->nodisplay = strdup("true"); + widget_app->support_mode = + strdup(application.app_info.support_mode().c_str()); widget_app->taskmanage = strdup("false"); widget_app->indicatordisplay = strdup("false"); widget_app->type = @@ -399,6 +402,8 @@ bool StepParseManifest::FillServiceApplication(manifest_x* manifest) { service_app->appid = strdup(application.app_info.appid().c_str()); service_app->multiple = strdup(application.app_info.multiple().c_str()); service_app->taskmanage = strdup(application.app_info.taskmanage().c_str()); + service_app->support_mode = + strdup(application.app_info.support_mode().c_str()); service_app->autorestart = strdup(application.app_info.auto_restart().c_str()); service_app->onboot = strdup(application.app_info.on_boot().c_str()); @@ -466,6 +471,7 @@ bool StepParseManifest::FillUIApplication(manifest_x* manifest) { ui_app->launch_mode = strdup(application.app_info.launch_mode().c_str()); ui_app->multiple = strdup(application.app_info.multiple().c_str()); ui_app->nodisplay = strdup(application.app_info.nodisplay().c_str()); + ui_app->support_mode = strdup(application.app_info.support_mode().c_str()); ui_app->taskmanage = strdup(application.app_info.taskmanage().c_str()); ui_app->type = strdup(application.app_info.type().c_str()); ui_app->ui_gadget = strdup(application.app_info.uigadget().c_str()); @@ -557,6 +563,8 @@ bool StepParseManifest::FillWatchApplication(manifest_x* manifest) { watch_app->nodisplay = strdup("true"); watch_app->multiple = strdup("false"); watch_app->type = strdup(watch_application.app_info.type().c_str()); + watch_app->support_mode = + strdup(watch_application.app_info.support_mode().c_str()); watch_app->taskmanage = strdup("false"); watch_app->enabled = strdup("true"); watch_app->hwacceleration = strdup("default"); -- 2.7.4