[Tizen] (A11y) Let we call DetachAccessibleObject only if it is Control 03/304803/2 accepted/tizen/7.0/unified/20240124.164053
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 15 Nov 2023 08:44:20 +0000 (17:44 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 24 Jan 2024 02:11:58 +0000 (11:11 +0900)
commitc0c8702901e329d1c47610b7d74ae8599058d0ff
treecb2bb2ed98fae45a4ef6b8097991e75bf8d69fa2
parentfc33cf2d48aafec7d6daf86d610428750e7c0f95
[Tizen] (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/src/nui-view-accessible.cpp