projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add DevelControl::Property::AUTOMATION_ID
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
devel-api
/
controls
/
control-accessible.cpp
diff --git
a/dali-toolkit/devel-api/controls/control-accessible.cpp
b/dali-toolkit/devel-api/controls/control-accessible.cpp
index
85b3c6a
..
a24e59d
100644
(file)
--- a/
dali-toolkit/devel-api/controls/control-accessible.cpp
+++ b/
dali-toolkit/devel-api/controls/control-accessible.cpp
@@
-265,6
+265,12
@@
Dali::Accessibility::Attributes ControlAccessible::GetAttributes() const
}
}
+ auto automationId = control.GetProperty<std::string>(Dali::Toolkit::DevelControl::Property::AUTOMATION_ID);
+ if(!automationId.empty())
+ {
+ attributeMap.emplace("automationId", std::move(automationId));
+ }
+
return attributeMap;
}