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

Commit 1787b4ea authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Fix cancel crash" into lmp-mr1-dev

parents 188416bf 55b46eff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ public class RenderNodeAnimator extends Animator {

    @Override
    public void cancel() {
        if (mState != STATE_FINISHED) {
        if (mState != STATE_PREPARE && mState != STATE_FINISHED) {
            if (mState == STATE_DELAYED) {
                getHelper().removeDelayedAnimation(this);
                notifyStartListeners();