[AT-SPI] remove isRoot param from Accessible::Get 37/274737/4
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 6 May 2022 15:58:20 +0000 (00:58 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 10 May 2022 02:50:13 +0000 (11:50 +0900)
commitf36eb22ac29852170cdadfd1592bdd6360498f67
tree1468f00659fe9f1e4ea7165e8ef0cbf31b80a05c
parent2f058fc5f2a1e62a912c5665d484b030450b4a30
[AT-SPI] remove isRoot param from Accessible::Get

The Accessibility::Accessible::Get for a window could be called
before getting accessible to add window accessible.

So far, we thought that the next part creates an accessible for
window for the first time.

  accessible = Accessibility::Accessible::Get(rootLayer, true);
  bridge->AddTopLevelWindow(accessible);

However, there is a case where it is created before this part
caused by following symbol

  CSharp_Dali_Toolkit_DevelControl_GetAccessibilityStates+0x144

In this case, isRoot is set to `false`. Then window will have
incorrect accessible information.

For more information, please refer to the following.

  https://github.sec.samsung.net/tizen/atspi/issues/60

Change-Id: Id2d27f35426e72b67986f132f0c77979016b4252
dali/devel-api/adaptor-framework/accessibility.cpp
dali/devel-api/atspi-interfaces/accessible.h
dali/internal/accessibility/bridge/bridge-impl.cpp
dali/internal/window-system/common/window-impl.cpp