summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2021-12-14 14:08:28 -0800
committerMady Mellor <madym@google.com>2021-12-14 15:21:41 -0800
commit447e4f16e274d84dd75efac1deb608aca2193543 (patch)
treebeb2ae5bd3e6f12e53e0724aacb10d78ba59357f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenteeb998c0937884db93dda5ec9df1550501f3c837 (diff)
Fix a potential NPE
I've never been able to reproduce this and the stack traces I have of it don't match existing code, but looking at the code paths I think this could still happen, there are a couple of places where the mMagnetizedBubbleDraggingOut gets nulled out (e.g. on child removed) I've tried to repro by: - canceling the bubbles in the middle of dragging to dismiss - trying to snap the bubble back and then drag it again to dismiss (snap back also nulls it) I see a recent stack of it in pitot so I think it's worth adding the null check. Test: atest ExpandedAnimationControllerTest Bug: 201866808 Change-Id: Ib9425a2b63410c95fddaaea59761dfd18557ed54
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions