commit | fd616c17febfc3531ba1d8f56261d4f9d8df9b7b | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Tue Jun 02 10:13:44 2015 -0700 |
committer | Yigit Boyar <yboyar@google.com> | Tue Jun 02 10:13:44 2015 -0700 |
tree | 117cb1c2e6e5f37b0bd2a44088a872267d563360 | |
parent | 613dfb42db820c2c82de8a4e1ab99a9be67569f3 [diff] |
Pass generic motion event to scrollInternal We had a crash where if RecyclerView is used inside a nested scrolling and event is a generic motion event; we would get a NPE while trying to access a non-existing event. This CL makes a change to check for null events to avoid the NPE and also starts passing motion event to scroll internal so that generic motion events work as expected as well. Bug: 21561903 Change-Id: Ic48a75d83f083691295e59910fa14de1c6781fd8