input: touchscreen: fts_spi: Ignore fod down gestures in resumed state
Change-Id: I5c27194633ab37ce87e99a087b5f668a6b7d1096
This commit is contained in:
parent
bc12178b79
commit
1d925035ec
@ -4415,7 +4415,8 @@ static void fts_gesture_event_handler(struct fts_ts_info *info,
|
||||
needCoords = 1;
|
||||
#ifdef FTS_FOD_AREA_REPORT
|
||||
if (event[2] == GEST_ID_LONG_PRESS) {
|
||||
if (!info->fod_pressed && fts_is_in_fodarea(x, y)) {
|
||||
// Ignore fod down events when screen is resumed since userspace handles fod then
|
||||
if (!info->resume_bit && !info->fod_pressed && fts_is_in_fodarea(x, y)) {
|
||||
logError(1, "%s %s Fod Down\n", tag, __func__);
|
||||
info->fod_pressed = true;
|
||||
update_fod_press_status(1);
|
||||
|
Loading…
Reference in New Issue
Block a user