commit | edc6fb4061c1e2dfdf80ef055ff18a25db3e77ab | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Thu Mar 22 10:45:46 2018 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Thu Mar 22 10:47:45 2018 -0700 |
tree | cdcb8220b12cb475c07883e3bfec9e7e1b69dbda | |
parent | 25a54729479a85bb81f9f6f0248c8a3c64b0a636 [diff] |
Clearing the touch state on ACTON_UP/ACTIUON_CANCEL The touch listener may not get ACTION_DOWN if it came through an intercept, in which case it will continue to use the previous state. Clearing the state ensures that the next touch is not affected. Bug: 76152745 Change-Id: I18cfbac67aa373e935822003e746af9def6d9122