Add parameter to detemine client and others 91/267491/4
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 6 Dec 2021 07:19:24 +0000 (16:19 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Mon, 6 Dec 2021 10:35:52 +0000 (19:35 +0900)
commit2dbf114593106f4cd7cf969d81ed5e2d33c9d20b
tree68d6c3f620b9a1b7496c1ae8c1ff4ff9b5d03241
parent656b8f7b03d0839ced5eea96f8a3416e8a81882e
Add parameter to detemine client and others

Client app does not need to fix configuration, but current code has allowed the client to fix
configuration file. And this behavior makes race condition of configuration. By this problem,
configuration file has invalid value, and it is possible to make side effect.

To solve this problem, this patch adds new parameter to identify client app. By this change,
framework can block the fix from client, and by this behavior, possibility of race condition
would be reduced.

Change-Id: I37d26f78c9d1aa185d4ab22b15a8cd76fb890196
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/tts.c
client/tts_setting.c
common/tts_config_mgr.c
common/tts_config_mgr.h
server/ttsd_config.c