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

Commit b5841c06 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

Original change: undetermined

Change-Id: I8eebb3492c656bb5b7c0b0c62ea8bda61e32563a
parents fcf1ee97 0b90ea28
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) {