[Tizen] [ATSPI] ignore ScreenReaderEnabled property on suppress mode 81/268181/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 10 Dec 2021 08:42:21 +0000 (17:42 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Thu, 16 Dec 2021 14:20:48 +0000 (23:20 +0900)
commit5fcf92fc51f2850aa922221033f8e423e8d539b2
treea79b03dbd20a071a682728fee70d52f876635562
parente18e26d65df2c3db5c5d090682286970864a557d
[Tizen] [ATSPI] ignore ScreenReaderEnabled property on suppress mode

The 'suppress' mode means that we do not want screen-reader working
for our ATSPI related event. In this case, it would be better NOT to
enable ATSPI bridge.

So far we have used 'suppress-screen-reader' attribute. But sometimes
GetAttributes does not work with following error message.

"get attribute error: Did not receive a reply. Possible causes include:
 the remote application did not send a reply, the message bus security
 policy blocked the reply, the reply timeout expired, or the network
 connection was broken."

We could handle this case, but the best is NOT to send unnecessary
ATSPI events.

The screen-reader should turning on ScreenReaderEnabled property only
The ATSPI bridge will be enabled, when IsEnabled property is set by
another AT client such as Aurum.

Change-Id: I529ae8cc29594915b20c23279371a6488d11ea2d
dali/internal/accessibility/bridge/bridge-accessible.cpp
dali/internal/accessibility/bridge/bridge-accessible.h
dali/internal/accessibility/bridge/bridge-base.h
dali/internal/accessibility/bridge/bridge-impl.cpp