From: Youngjae Cho Date: Fri, 18 Aug 2023 02:11:58 +0000 (+0900) Subject: display: headed: Remove code controlling touch-led X-Git-Tag: accepted/tizen/unified/20230821.162310~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75c2ad4da239d5ed11a60109d7e86b5f9e79d58c;p=platform%2Fcore%2Fsystem%2Fdeviced.git display: headed: Remove code controlling touch-led Headed profile doesn't support touch-led. Change-Id: I8d8897f8c808c06ad2a794ccc3c232fdd4081bdd Signed-off-by: Youngjae Cho --- diff --git a/plugins/iot-headed/display/key-filter.c b/plugins/iot-headed/display/key-filter.c index 140a560c..fef3c070 100644 --- a/plugins/iot-headed/display/key-filter.c +++ b/plugins/iot-headed/display/key-filter.c @@ -38,7 +38,6 @@ #include "display-state-transition.h" #include "shared/apps.h" #include -#include "led/touch-key.h" #include "display-lock.h" #include "input/input.h" @@ -557,16 +556,12 @@ static void process_hardkey_backlight(struct input_event *pinput) if (__get_lock_screen_state() == VCONFKEY_IDLE_UNLOCK || get_lock_screen_bg_state()) sound_vibrate_hardkey(); - - touchled_control_backlight(TOUCHLED_PRESS); } else if (pinput->value == KEY_RELEASED) { /* if lockscreen is idle lock */ if (__get_lock_screen_state() == VCONFKEY_IDLE_LOCK) { _D("Lock state, key backlight is off when phone is unlocked!"); return; } - - touchled_control_backlight(TOUCHLED_RELEASE); } }