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

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

Merge "Prevent NPE at TaskStack#resetAnimationBackgroundAnimator"

parents b101c347 0e7f7b38
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -923,8 +923,10 @@ public class TaskStack extends WindowContainer<Task> implements DimLayer.DimLaye

    void resetAnimationBackgroundAnimator() {
        mAnimationBackgroundAnimator = null;
        if (mAnimationBackgroundSurface != null) {
            mAnimationBackgroundSurface.hide();
        }
    }

    void setAnimationBackground(WindowStateAnimator winAnimator, int color) {
        int animLayer = winAnimator.mAnimLayer;