mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
input: touchscreen: touchscreen_mmi: Check for pressed status before waking up for gesture
* If anything is pressed then it can be assumed that
the display is either already in gesture mode or
the display was in gesture before and a gesture was
triggered. Don't interrupt in these cases.
test: Turn on UDFPS long press and lockscreen,
reboot and before unlocking test long press
Signed-off-by: electimon <electimon@gmail.com>
Change-Id: I6142eadb7613b65d53642176a82ae757fb94a78b
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
This commit is contained in:
parent
04bfad746e
commit
12557c708e
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ static void gesture_set(struct ts_mmi_dev *touch_cdev,
|
|||
sync = _gesture_set(touch_cdev, bit, enable);
|
||||
mutex_unlock(&touch_cdev->extif_mutex);
|
||||
|
||||
if (sync)
|
||||
if (sync && !touch_cdev->double_tap_pressed)
|
||||
gesture_sync(touch_cdev);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue