commit | 7e6328174488c5e3ebbe4576ea7a85263811fd5c | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Wed Jun 22 14:40:18 2016 -0700 |
committer | Aurimas Liutikas <aurimas@google.com> | Thu Jun 23 19:17:32 2016 +0000 |
tree | e3744b664f5ba3f541d42e6292045fd8a9a7c0f1 | |
parent | dd23fbd1ef89f0debb29072153fab19ebf22fe50 [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. Merging to master manually as it has merge conflict due to support library refactoring. Bug: 29561625 Change-Id: I39c28dc58e0e96602d160c7168f5d555c147d27c