[AT-SPI] Do not store the window in mDefaultLabels 39/278839/3
authorArtur Świgoń <a.swigon@samsung.com>
Tue, 26 Jul 2022 15:45:56 +0000 (17:45 +0200)
committerArtur Świgoń <a.swigon@samsung.com>
Wed, 10 Aug 2022 09:47:37 +0000 (11:47 +0200)
commit01d4f2fddcbec7b9c73c2d689e1a8628b36800e1
tree470ce092ad6d22955a2575010b7ce95d80b0bd28
parenta5a5c8a22bc082ff2271f3f90bc6521b25ef50e1
[AT-SPI] Do not store the window in mDefaultLabels

The default label stack was often incorrect when Screen Reader was
turned on dynamically, due to how window registration was handled. There
is no need to store the window on the default label stack explicitly at
all, because the navigation context root is also the target of the
incoming D-Bus call. The broadest possible context is the window, which
is the case if the navigation context stack is empty.

Change-Id: I61d4f279c1c0f82c75516359db73cd941f5d0b53
dali/devel-api/adaptor-framework/accessibility-bridge.h
dali/internal/accessibility/bridge/bridge-accessible.cpp
dali/internal/accessibility/bridge/bridge-base.cpp
dali/internal/accessibility/bridge/bridge-base.h
dali/internal/accessibility/bridge/dummy/dummy-atspi.h