display: headed: Remove code controlling touch-led 95/297395/1
authorYoungjae Cho <y0.cho@samsung.com>
Fri, 18 Aug 2023 02:11:58 +0000 (11:11 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Fri, 18 Aug 2023 02:19:32 +0000 (11:19 +0900)
Headed profile doesn't support touch-led.

Change-Id: I8d8897f8c808c06ad2a794ccc3c232fdd4081bdd
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
plugins/iot-headed/display/key-filter.c

index 140a560..fef3c07 100644 (file)
@@ -38,7 +38,6 @@
 #include "display-state-transition.h"
 #include "shared/apps.h"
 #include <libsyscommon/log.h>
-#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);
        }
 }