summaryrefslogtreecommitdiff
path: root/goog_touch_interface_nop.h
diff options
context:
space:
mode:
authordavidycchen <davidycchen@google.com>2022-11-23 11:50:19 +0800
committerdavidycchen <davidycchen@google.com>2022-11-24 13:36:14 +0800
commit81fe87c882e2cc891eb689b821d3f9f3e6258777 (patch)
treef8c62820192e122af635a6b9b9da2824acf395ff /goog_touch_interface_nop.h
parenta7f98ae4e74e6e5df8c4a78200c2e7ac8d4d8d96 (diff)
downloadcommon-81fe87c882e2cc891eb689b821d3f9f3e6258777.tar.gz
touch/gti: release all fingers when the device suspends
Release all finger when the device suspends by GTI and also clear the slots information. Bug: 260020612 Test: suspend/resume the device. Change-Id: I5b70b34d92028713813c45443ae3d2b133cb4f39 Signed-off-by: davidycchen <davidycchen@google.com>
Diffstat (limited to 'goog_touch_interface_nop.h')
-rw-r--r--goog_touch_interface_nop.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/goog_touch_interface_nop.h b/goog_touch_interface_nop.h
index 4483749..0528e37 100644
--- a/goog_touch_interface_nop.h
+++ b/goog_touch_interface_nop.h
@@ -9,8 +9,6 @@
#include <linux/input/mt.h>
-#define KTIME_RELEASE_ALL (ktime_set(0, 0))
-
enum gti_cmd_type : u32{
GTI_CMD_NOP,
};