Fix stack animation background coordinates.

Forgot that we aren't yet in a relative coordinate space for the stack!

Bug: 69623943
Test: Manual
Change-Id: Id4285355dc0da967f450dacd0eb59372be9d2426
This commit is contained in:
Robert Carr
2017-11-21 13:18:40 -08:00
committed by Rob Carr
parent 1edf09c99b
commit 0d221ff7d9

View File

@@ -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();
}