Remove screen reader check from tts_stop() 24/304624/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 22 Jan 2024 11:19:23 +0000 (20:19 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Mon, 22 Jan 2024 11:19:23 +0000 (20:19 +0900)
commit4811eb3571e07fd033291e4da6702c95c254bbbd
tree48c233ce53e395a7485f5422bcf4497ea98a690d
parentcc9a2a9f28b1b16dcb4c88ed3f62f6fe601d035b
Remove screen reader check from tts_stop()

- Issue:
App receives screen_reader_off error when the app call tts_stop() on
playing state.

- Solution:
The screen reader mode is only available when the screen reader option
is on. So, the framework checks the screen reader option when the client
sets the screen reader mode. However, sometimes the client wants to stop
playing TTS to handle screen reader off situation. But, in this case,
the client has to get the screen_reader_off error because of the reason
that described above.
Thus, this patch removes the screen reader option check logic from the
tts_stop() function. Through this change, the client can stops the TTS
playback even though the client sets the screen reader mode.

Change-Id: I41b91634d3aaa1fd0fd4cc6dc3198a9baa9d46a1
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/tts.c