[ATSPI] ignore ScreenReaderEnabled property on suppress mode 39/267839/5
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 01:08:17 +0000 (10:08 +0900)
commit725a3c7a30d55d0ecf61b03d0cc71ca32f18d2c3
tree7326e3f4754e03454016b35d3d07b49d856ed03a
parent9baf7560d4ea3926bc0aba64520edcb64793a689
[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