display: Relocate custom_lcd_on/off() 27/294227/3
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 14 Jun 2023 11:02:40 +0000 (20:02 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 26 Jun 2023 02:27:21 +0000 (11:27 +0900)
commita4f1122937ab6530a3bb1574810ab8a134e0eeb3
treecc71ccdd4edd2f1b9e36fbd0d671add7533f0e34
parent161dc64c6d7435630850b7e25f56e4551a9d4fb1
display: Relocate custom_lcd_on/off()

custom_lcd_on/off() is used by dbus_customlcdon/off call.
These update custom timeout value and go to S_NORMAL/S_LCDOFF display state.

New functions added below display-panel.
- int display_panel_custom_lcd_on(int timeout);
- int display_panel_custom_lcd_off(enum device_flags flag);
    -> These replace custom_lcd_on/off().

Change-Id: Ie6e28ade1a05212f97c4feb87ea70955ff2cddc0
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/core.h
src/display/display-panel.c
src/display/display-panel.h
src/display/display-plugin.c
src/display/display-plugin.h
src/display/display-state-transition.c
src/display/plugin-common/display-dbus.c