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

Commit 028d3917 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: e0e0aff0 am: e231852c

Original change: undetermined

Change-Id: I3842c395fbc528676c7c58b95a2b5f1229099eb9
parents 48925b3d e231852c
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) {