[AT-SPI] Fix not working screen reader when rerunning it 92/267192/4
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 29 Nov 2021 08:02:20 +0000 (17:02 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 6 Dec 2021 07:48:03 +0000 (16:48 +0900)
commit6af352690fe5cb16092dcf9de16357264288d89c
tree0898759129f5737f5686695884c33fea513916a9
parent3dd3b5021af33efe16bcf6f7aada41d0d4af8120
[AT-SPI] Fix not working screen reader when rerunning it

[Reproduce Steps]
 1. Screen Reader ON
 2. Run any application
 3. Turn Screen Reader OFF
 4. Turn Screen Reader ON

- It is caused by NULL windowAccessible which is returned
 by following function used by EmitActivate()
 Dali::Accessibility::Accessible* GetWindowAccessible(Dali::Window window)

- Connected Enabled / Disabled signals to Window
 so that Window can add and remove itself from bridge
 when the state of bridge changes.

Change-Id: I3bdebedd7bf4f9017d24b72999412a0f70cfd24b
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali/internal/accessibility/bridge/bridge-impl.cpp
dali/internal/window-system/common/window-impl.cpp
dali/internal/window-system/common/window-impl.h