commit | f5b4d7a828fe02044a92da0f2f512ee2763d6539 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Mon Oct 03 15:45:50 2022 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Mon Oct 10 19:09:05 2022 +0000 |
tree | 58f6f2b8b780fdf6d73392ae4dc7d61caac60d69 | |
parent | edb0ba739a01d5f9c07e5a6bb88cd0b985f9986f [diff] |
TouchInputMapper: Cancel ongoing gesture when resetting Since reset is called when a device is being enabled or disabled, if it doesn't cancel ongoing gestures, there is a possiblity of seeing an inconsistent gesture stream. Also, make sure we send FLAG_CANCELED when sending ACTION_CANCEL from TouchInputMapper. Bug: 245989146 Test: atest inputflinger_tests Change-Id: I9921eee9acf365b28d97f3fbe9b4d6cd15fe7087