Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a89def8b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Guard against an NPE if a view is removed just after a path animation...

Merge "Guard against an NPE if a view is removed just after a path animation started." into rvc-dev am: 0b90ea28 am: b5841c06

Original change: undetermined

Change-Id: I5964a2446248c92efb0fb16eed7cf01d4793a44b
parents b2b73db8 b5841c06
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1037,6 +1037,11 @@ public class PhysicsAnimationLayout extends FrameLayout {
            if (view != null) {
                final SpringAnimation animation =
                        (SpringAnimation) view.getTag(getTagIdForProperty(property));

                if (animation == null) {
                    return;
                }

                final SpringForce animationSpring = animation.getSpring();

                if (animationSpring == null) {