diff options
author | Fabian Kozynski <kozynski@google.com> | 2020-03-16 11:50:12 -0400 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2020-03-26 09:29:08 -0400 |
commit | 9073ef0a5eacdf820c45b9267396a5cd8c4b1e13 (patch) | |
tree | 7f221a125480fced1a40cc9719cef0fbb17c0bfe /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 5cb264d9df806f3433d4065d8d9d7ac8c4e96269 (diff) |
Prevent NPE in PagedTileLayout
This CL prevents fake drag by checking ViewPager#isFakeDragging, which
is enabled by ViewPager#beginFakeDrag.
This is not a fix of the underlying issue (which is not known) but a
patch to prevent crashing.
Fixes: 149979063
Test: adb shell monkey --throttle 1000 --pct-nav 0 --pct-majornav 0 \
--pct-touch 30 --ignore-crashes --ignore-timeouts \
--ignore-security-exceptions -v 2000000
Change-Id: I7da764eaf20fc9d971afe2cb89b232b4efd65a3b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions