commit | bf89a4855d66b88387ce20e4bf6c1637b7213728 | [log] [tgz] |
---|---|---|
author | arthurhung <arthurhung@google.com> | Fri Apr 17 17:37:55 2020 +0800 |
committer | arthurhung <arthurhung@google.com> | Tue Apr 28 10:40:41 2020 +0800 |
tree | 9dedd1adebf85b4d39ee074f5abc0ae7d0e44bc7 | |
parent | 031877792958733512f8ab977fbd5be39d645c39 [diff] |
Allow touch if the new point is not MT_TOOL_PALM We would cancel all touch when we recevied MT_TOOL_PALM if there are accidental touches, that could cause the device can't touch anymore. This ignore these MT_TOOL_PALM points, so if all valid points are released, we could reset the abort flag and the new valid point could be treated as new down event. Test: atest inputflinger_tests Bug: 137221719 Change-Id: Ib376b912d389c97bc5127fd9b7f4ecb168cd266d