commit | 2d9e33a4981950199628b42d8f4a10c47f53b82a | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Wed Jun 22 14:51:32 2016 -0700 |
committer | Aurimas Liutikas <aurimas@google.com> | Thu Jun 23 16:38:27 2016 +0000 |
tree | 007d3cbdbb893430a9aadf5f507d2ad054d0c43f | |
parent | 05984a273dc5f596a3e8abbffe90c68d050630b9 [diff] |
Add more pointer validation check to ViewDragHelper. Adding isPointerDown checks before modifying mInitialMotionX and mLastMotionX arrays. clearMotionHistory gets called on ACTION_POINTER_UP so there is nothing to clear if we never got ACTION_POINTER_DOWN. Bug: 29561625 Change-Id: Ia40c4dfc0068839dbf71fa2f805bf84b69d22cfe