Register fd handler when the client only sets the lang_cb 66/291166/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 11 Apr 2023 04:40:32 +0000 (13:40 +0900)
committerTizen AI <ai.tzn.sec@samsung.com>
Tue, 11 Apr 2023 05:19:43 +0000 (14:19 +0900)
commit57554881ad705d962840581695a7e6152907f5ca
tree4f7338c0cf2d017fc918a662e8a0d051a75abfd2
parent65d4f917f9dc3bf7339a85a5610eebbe3d4144a1
Register fd handler when the client only sets the lang_cb

- Issue:
Language changes callback is not invoked except by the setting client.

- Solution:
Previous code does not register inotify fd handler when the clients only
set langauge changed callback. The callback needs fd handler
registeration because the callback is called by fd handler. So this
patch adds code to register the fd handler. Through this patch, the
language changd callback will be invoked even if the client is not the
setting client.

Change-Id: I503a5097f7727721292974bd1dc2919401e17593
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
common/vc_config_mgr.cpp