Merge "Fix stack animation background coordinates."

This commit is contained in:
TreeHugger Robot
2017-11-22 21:20:05 +00:00
committed by Android (Google) Code Review

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