From f61c56c2ae73489fb31b95d551d558d07e961b13 Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Wed, 7 Dec 2016 15:42:00 +0900 Subject: [PATCH] Adjust to change of support ambient Requires: - https://review.tizen.org/gerrit/102774 Change-Id: I0f64c7eeb825fd82f25940c0829c4725356c2c9b Signed-off-by: Sangyoon Jang --- src/wgt/step/configuration/step_parse.cc | 8 ++++---- src/wgt/step/pkgmgr/step_generate_xml.cc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wgt/step/configuration/step_parse.cc b/src/wgt/step/configuration/step_parse.cc index d2908fa..e1f817c 100644 --- a/src/wgt/step/configuration/step_parse.cc +++ b/src/wgt/step/configuration/step_parse.cc @@ -347,10 +347,10 @@ bool StepParse::FillMainApplicationInfo(manifest_x* manifest) { SetApplicationXDefaults(application); if (has_watch_category) - application->ambient_support = + application->support_ambient = strdup(app_info->ambient_support() ? "true" : "false"); else - application->ambient_support = strdup("false"); + application->support_ambient = strdup("false"); application->package = strdup(app_info->package().c_str()); application->exec = @@ -398,7 +398,7 @@ bool StepParse::FillServiceApplicationInfo(manifest_x* manifest) { application->nodisplay = strdup("false"); application->taskmanage = strdup("true"); SetApplicationXDefaults(application); - application->ambient_support = strdup("false"); + application->support_ambient = strdup("false"); application->package = strdup(manifest->package); for (auto& pair : service_info.names()) { @@ -452,7 +452,7 @@ bool StepParse::FillWidgetApplicationInfo(manifest_x* manifest) { application->nodisplay = strdup("true"); application->taskmanage = strdup("false"); SetApplicationXDefaults(application); - application->ambient_support = strdup("false"); + application->support_ambient = strdup("false"); application->package = strdup(manifest->package); if (!app_widget.label.default_value.empty()) { diff --git a/src/wgt/step/pkgmgr/step_generate_xml.cc b/src/wgt/step/pkgmgr/step_generate_xml.cc index b34417b..a23e71e 100644 --- a/src/wgt/step/pkgmgr/step_generate_xml.cc +++ b/src/wgt/step/pkgmgr/step_generate_xml.cc @@ -161,9 +161,9 @@ bool WriteWidgetApplicationAttributesAndElements( void WriteWatchApplicationAttributes( xmlTextWriterPtr writer, application_x* app) { - if (app->ambient_support) + if (app->support_ambient) xmlTextWriterWriteAttribute(writer, BAD_CAST "ambient-support", - BAD_CAST app->ambient_support); + BAD_CAST app->support_ambient); } } // namespace -- 2.7.4