/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
}
}
+void ActorAccessible::ClearCache()
+{
+ mLastEmittedState.clear();
+}
+
} // namespace Dali::Accessibility
#define DALI_ADAPTOR_ACTOR_ACCESSIBLE_H
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
void NotifyAccessibilityStateChange(Dali::Accessibility::States states, bool isRecursive);
+ /**
+ * @brief Clears internal cache data on bridge down
+ */
+ void ClearCache();
+
protected:
Dali::Actor Self() const
{
#define DALI_ADAPTOR_ATSPI_ACCESSIBLE_H
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
mDirectReadingCallbacks.clear();
mApplication.mChildren.clear();
ClearTimer();
+
+ for(auto& [key, obj] : mAccessibles)
+ {
+ if(auto actorAccessible = std::dynamic_pointer_cast<ActorAccessible>(obj))
+ {
+ actorAccessible->ClearCache();
+ }
+ }
}
void ClearTimer()