From 12cdd1c582bd78ae2f975d671328452ba7be1755 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Tue, 28 Jan 2020 16:06:41 +0900 Subject: [PATCH] Fix touchscreen_stop Touchscreen powersaving/enable/disable is required also for AOD mode. Change-Id: I3602de43d76dd8c36af144e2a1633d526aca4f71 Signed-off-by: Hyotaek Shim --- src/power/power-handler.h | 2 +- src/touchscreen/touchscreen.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/power/power-handler.h b/src/power/power-handler.h index e09c255..ce5aa2b 100644 --- a/src/power/power-handler.h +++ b/src/power/power-handler.h @@ -31,7 +31,7 @@ #define POWER_FLAG_EXIT "/run/deviced-shutdown-exit" // 0: None -// 1: Power Off Popup is launched (Deviced does not support this since Tizen5.0) +// 1: Power Off Popup is launched (not supported since Tizen5.5) // 2: Poweroff // 3: Restart // 4: Exit diff --git a/src/touchscreen/touchscreen.c b/src/touchscreen/touchscreen.c index b564144..3f7039b 100644 --- a/src/touchscreen/touchscreen.c +++ b/src/touchscreen/touchscreen.c @@ -184,9 +184,6 @@ static int touchscreen_start(enum device_flags flags) static int touchscreen_stop(enum device_flags flags) { - if (flags & AMBIENT_MODE) - return 0; - /* * Touchscreen control priority * 1. Touchscreen module control by execute(touchscreen_enable) -- 2.7.4