Merge "Fix stack animation background coordinates."
This commit is contained in:
committed by
Android (Google) Code Review
commit
801cb7822c
@@ -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