Set the type of release event to the correct value.

When the release event is received, the value of the type should not
be modified to TS_COORDINATE_ACTION_NONE, it should always be
TS_COORDINATE_ACTION_RELEASE.

Change-Id: I871567c0a32ce30611f6e50d86e9c5af06353360
Reviewed-on: https://gerrit.mot.com/1597584
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
litong 2020-06-03 16:48:47 +08:00 • committed by litong20
commit 866aada563

View file

@ -255,7 +255,6 @@ static int ts_mmi_touch_event_poison_slot_handler(struct touch_event_data *tev,
if (ts_mmi_touch_event_rescue_slot(tev->id))
pr_info("%s: Poison slot(%d) rescued\n", __func__, tev->id);
tev->skip_report = true;
tev->type = TS_COORDINATE_ACTION_NONE;
}
}
} else if (tev->type == TS_COORDINATE_ACTION_MOVE) {