Enable AT-SPI by default for suppressed screen-reader 62/275162/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Tue, 17 May 2022 11:06:16 +0000 (20:06 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 17 May 2022 11:06:16 +0000 (20:06 +0900)
commitd954c09bcb446f75c560b56363f07d4d90a743f4
treee87b816170d40e7d095366f8d29dd54a19750d6c
parent69c30462c5e649f68b66043c10f418ee0caa84ad
Enable AT-SPI by default for suppressed screen-reader

The ELM_SUPPRESSED_SCREEN_READER is enabled if the application wants to
speak directly without going through the screen-reader.

In an environment where the ELM_SUPPRESSED_SCREEN_READER is enabled,
the screen-reader does not use "IsEnabled" property but only
"ScreenReaderEnabled" property.

The "IsEnabled" is enabled by another AT-client such as the Aurum.

So this patch makes the AT-SPI bridge be enabled only if the "IsEnabled"
property is enabled, and ignore the changes of "ScreenReaderEnabled".

Change-Id: I9a006b559083ed19eb6985d7faa75ffac6edc3e5
src/lib/elementary/elm_atspi_bridge.c