projects
/
platform
/
core
/
appfw
/
wgt-backend.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d7c94
)
Apply changes of light-user attribute's spec
08/322908/2
author
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 17 Apr 2025 11:18:17 +0000
(20:18 +0900)
committer
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 17 Apr 2025 11:20:54 +0000
(20:20 +0900)
Change-Id: I8243b7a0de8fee1c103d090a56230cdcb581c3ed
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/wgt/step/configuration/step_parse.cc
patch
|
blob
|
history
diff --git
a/src/wgt/step/configuration/step_parse.cc
b/src/wgt/step/configuration/step_parse.cc
index 904f1f1e16692e68602a96a3a9723036637e5c95..9d0d630534f5e2190dd6cd4b8fadf8f94a8768a4 100644
(file)
--- a/
src/wgt/step/configuration/step_parse.cc
+++ b/
src/wgt/step/configuration/step_parse.cc
@@
-863,8
+863,13
@@
bool StepParse::FillLightUserInfo(manifest_x* manifest) {
return true;
}
- manifest->light_user_switch_mode = strdup(
- light_user_info->switch_mode().c_str());
+ if (light_user_info->support().empty()) {
+ LOG(ERROR) << "required attribute support doesn't exist";
+ return false;
+ }
+
+ manifest->light_user_switch_mode =
+ strdup(light_user_info->switch_mode() == "alive" ? "default" : "kill");
return true;
}