commit | 41d6425f37ff3a3c58e3bec9b9ba8ca185513482 | [log] [tgz] |
---|---|---|
author | Mark Wei <markwei@google.com> | Thu Oct 01 13:59:24 2015 -0700 |
committer | Mark Wei <markwei@google.com> | Thu Oct 01 22:45:09 2015 +0000 |
tree | ed1ee58768fd79d9883de140bae08cd4c7ccc2e3 | |
parent | bd0afce433ec8c219627522a5233d61bf27f7397 [diff] |
Prevent pointerIndex out of range IllegalArgumentException in ViewPager. Recover from an inconsistent state where mActivePointerId no longer references a valid tracked pointer. This may happen if a child view consumes part of the touch event stream, or is doing unsafe dispatching of touch events from #onInterceptTouchEvent. Bug: 24191418 Change-Id: I1eda1d0ae435cf1b69918f521491c24b8f90203e