display: lock: Relocate custom_holdkey_block variable 32/292632/10
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 10 May 2023 06:38:27 +0000 (15:38 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Tue, 30 May 2023 11:47:39 +0000 (20:47 +0900)
commit1db15dae6801864bb0923d790e65dcb63e534830
tree716f287ffaadc4247a68ffcc410354132dc7e7cc
parent6eab99eec7927370daa7dc087e33e11330a7054c
display: lock: Relocate custom_holdkey_block variable

To remove build dependency, custom_holdkey_block variable should be moved to display-lock.
And then, custom_holdkey_block getter/setter is added.
void display_lock_set_custom_holdkey_block(bool blocked);
void display_lock_get_custom_holdkey_block(bool *blocked);

custom_holdkey_block is set through the dbus method dbus_setlcdtimeout.
This variable is used for screenlock, lcdoff process.

Change-Id: If8b19fd66d388271ccc51c327302ed00196097f7
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
plugins/iot-headed/display/core.c
plugins/mobile/display/core.c
plugins/tv/display/core.c
plugins/wearable/display/core.c
src/display/plugin-common/display-lock.c
src/display/plugin-common/display-lock.h