summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunho Kang <hhstark.kang@samsung.com>2017-03-28 13:21:25 +0900
committerHyunho Kang <hhstark.kang@samsung.com>2017-03-28 20:19:19 +0900
commit5e10a2a7b46f702ff669a8b8f71bceb22aaac08c (patch)
treef558fdc5f8e8336e8583d1f4dd3a601bed27d340
parent4ca1c41e01d6ab44af78714146bb3dce7bfad302 (diff)
downloadapp-installers-5e10a2a7b46f702ff669a8b8f71bceb22aaac08c.tar.gz
app-installers-5e10a2a7b46f702ff669a8b8f71bceb22aaac08c.tar.bz2
app-installers-5e10a2a7b46f702ff669a8b8f71bceb22aaac08c.zip
Add watch setup-appid parsing logic
Change-Id: I991be228509cf4b35858e9cfded2dbbac315d811 Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
-rw-r--r--src/common/step/configuration/step_parse_manifest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/step/configuration/step_parse_manifest.cc b/src/common/step/configuration/step_parse_manifest.cc
index 8d4c802e..dfb1f080 100644
--- a/src/common/step/configuration/step_parse_manifest.cc
+++ b/src/common/step/configuration/step_parse_manifest.cc
@@ -622,6 +622,10 @@ bool StepParseManifest::FillWatchApplication(manifest_x* manifest) {
watch_app->support_ambient =
strdup(watch_application.app_info.ambient_support().c_str());
watch_app->package = strdup(manifest->package);
+ if (!watch_application.app_info.setup_appid().empty())
+ watch_app->setup_appid =
+ strdup(watch_application.app_info.setup_appid().c_str());
+
if (!FillLabel(watch_app, watch_application.label))
return false;
if (!FillApplicationIconPaths(watch_app, watch_application.app_icons))