summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJosh Tsuji <tsuji@google.com>2020-06-23 17:51:53 -0400
committerJosh Tsuji <tsuji@google.com>2020-06-23 17:51:55 -0400
commitbe5b4e19693cf6bc481bb3d845bbead03614f302 (patch)
treeeaf6d9fa149e321f606029407ce5a1beb08ad5df /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent16868fbef078bd760b6bc0cae59f4bc4be5fe3f0 (diff)
Use reference equality for AnimatableScaleMatrix equals().
When we recreate the stack, we also create a new AnimatableScaleMatrix and get a PhysicsAnimator instance for it. Since the matrices can have identical values, we sometimes end up getting the animator instance for the previous stack's matrix if it hasn't yet been garbage collected. This means we're animating a matrix that has no effect on the current stack, so the expanded view scale stays at 0% forever. Bug: 159719888 Test: this one is really hard since it's nondeterministic, but just create/dismiss bubbles a lot Change-Id: Ib5e390caba0ac621ccf7a1da71adc9d15f51fd65
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions