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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user