commit | dc64c9b90da40fd652115d9046ffdf826f7ffb3d | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Tue Mar 01 12:43:14 2016 -0800 |
committer | Aurimas Liutikas <aurimas@google.com> | Wed Mar 02 01:11:43 2016 +0000 |
tree | 6bf8b6f7ec9b346602373dbd2168e05f186f1d81 | |
parent | 33edf072df1c153a8689c07de5de2cd8836b6f6c [diff] |
Validate if pointer is valid in ViewDragHelper. Some users of ViewDragHelper do not send all the events to it and it is possible to get to a state where ViewDragHelper receives an ACTION_MOVE without ACTION_DOWN beforehand. This CL makes it ignore such events and warns the developers about this issue. Bug: 27199384 Change-Id: I13fbc6479c68042803d8d6b78dd7cdab700d44be