(A11y) Let we call DetachAccessibleObject only if it is Control 96/301396/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 15 Nov 2023 08:44:20 +0000 (17:44 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Sun, 19 Nov 2023 15:43:39 +0000 (00:43 +0900)
commit9f7b408375b1f4651000bf2ba35656216feb945b
tree2e22eb48890317317bf549d4467a8a7790e17b89
parent8765a3d245f81ec603e11901086e96c8e646050f
(A11y) Let we call DetachAccessibleObject only if it is Control

NUI.CustomView is subclass of NUI.View, and it will create CustomActor,
which is not a Dali::Toolkit::Control.

In this case, it will throw exception at DevelControl API.

To avoid this cases, let we seperate the cases between Control and non-Control.
And let we ignore for non-control cases.

Change-Id: I87082c77039bb6691cebb18d90341b61b511ba45
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-csharp-binder/common/nui-view-accessible.cpp