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

Commit c936fe11 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add null check before updating animation progress" into ub-launcher3-rvc-dev

parents 16823c2c 77995539
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -310,6 +310,9 @@ public abstract class AbstractStateChangeTouchController
    }

    protected void updateProgress(float fraction) {
        if (mCurrentAnimation == null) {
            return;
        }
        mCurrentAnimation.setPlayFraction(fraction);
        if (mAtomicComponentsController != null) {
            // Make sure we don't divide by 0, and have at least a small runway.