Aurum managed state with bit operation for each state.
But the state is not updated, if the exist state is changed.
So i fixed it as reset bit before state update.
Change-Id: I7ecf8b416a80baa7cd099b221c42b509267f87b6
*/
void setFeatureProperty(NodeFeatureProperties prop, bool has);
+ /**
+ * @brief TBD
+ * @since_tizen 6.5
+ */
+ void resetFeatureProperty();
+
protected:
/**
* @brief TBD
mFeatureProperty &= ~static_cast<int>(prop);
}
+void AccessibleNode::resetFeatureProperty()
+{
+ mFeatureProperty = 0;
+}
std::string AccessibleNode::getText() const
{
void AtspiAccessibleNode::updateStates()
{
- AtspiWrapper::Atspi_accessible_clear_cache(mNode);
+ resetFeatureProperty();
+ AtspiWrapper::Atspi_accessible_clear_cache(mNode);
AtspiStateSet *st = AtspiWrapper::Atspi_accessible_get_state_set(mNode);
if (st) {
GArray *states = AtspiWrapper::Atspi_state_set_get_states(st);