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

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

Merge "Fix stack animation background coordinates."

parents 916c83d2 0d221ff7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -257,8 +257,9 @@ public class TaskStack extends WindowContainer<Task> implements
        if (mAnimationBackgroundSurface == null) {
            return;
        }
        // TODO: Should be in relative coordinates.
        getPendingTransaction().setSize(mAnimationBackgroundSurface, bounds.width(), bounds.height())
                .setPosition(mAnimationBackgroundSurface, 0, 0);
                .setPosition(mAnimationBackgroundSurface, bounds.left, bounds.top);
        scheduleAnimation();
    }