display: Remove lcd_on_expired()/stop_lock_timer()/check_lock_screen() 05/294105/1
authorYunhee Seo <yuni.seo@samsung.com>
Mon, 12 Jun 2023 11:43:41 +0000 (20:43 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Tue, 13 Jun 2023 07:11:11 +0000 (16:11 +0900)
commite4a5f20676cb9b32e0735c1e28f6b8185a5d8265
tree84c86286a07933cd6105a2d440bf24bcad50e152
parente21443f1a4400eee07e712dec52cc3f3989f5d72
display: Remove lcd_on_expired()/stop_lock_timer()/check_lock_screen()

These functions are used when the EVENT_INPUT occurs from the below situation,
S_SLEEP/S_LCDOFF --> EVENT_INPUT --> S_NORMAL

check_lock_screen() checks lock_screen state, If lock_screen is not launched,
this adds timeout callback for lcd_on_procedure().
stop_lock_timer() removes callback from above description.
lcd_on_expired() is callback for lcd_on_procedure() after timeout.

Simply, that functions checks lock screen status, and then If lock screen is not launched,
go to lcd_on_procedure after timeout value.

However, according to the default_action code logic, it goes to lcd_on_procedure()
regardless of check_lock_screen().
Also, meaningless lcd_on_procedure() call occurs.

Thus, lcd_on_expired()/stop_lock_timer()/check_lock_screen() is removed.

Change-Id: Ie82889e951678260ac10e1b7c86546040aff3fc8
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