mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
dlkm: bo: Change the logic of report fod up key
- Per the request of fingerprint team, remove the judgment condition of touch_num<=0 when reporting the fod up key, this change can prevent fod up key not being reported because touch_num>0 when fod up key needs to be reported. Change-Id: Iacbfc0592cc7944cfa5497560c3fc5e86531cf7d Signed-off-by: Jun Weng <wengjun1@motorola.com> Reviewed-on: https://gerrit.mot.com/2450918 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: <zhuwg1@motorola.com> Reviewed-by: Wei Deng <dengwei1@motorola.com> Reviewed-by: Yeqing Wang <wangyq13@motorola.com> Reviewed-by: Yan Zhang <zhangy26@motorola.com> Reviewed-by: Hujun Liao <liaohj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
c304122037
commit
4065100cc9
1 changed files with 1 additions and 1 deletions
|
|
@ -1240,7 +1240,7 @@ static void goodix_ts_report_finger(struct input_dev *dev,
|
|||
input_report_key(dev, BTN_TRIGGER_HAPPY1, 0);
|
||||
input_sync(dev);
|
||||
ts_info("report BTN_TRIGGER_HAPPY1");
|
||||
}else if(ts_event->gesture_type == GOODIX_GESTURE_FOD_UP && touch_num <=0) {
|
||||
}else if(ts_event->gesture_type == GOODIX_GESTURE_FOD_UP) {
|
||||
input_report_key(dev, BTN_TRIGGER_HAPPY2, 1);
|
||||
input_sync(dev);
|
||||
input_report_key(dev, BTN_TRIGGER_HAPPY2, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue