#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"
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);
}
}