Merge "Switch pip to fixed-rotation in shell transitions"

This commit is contained in:
Evan Rosky authored and Android (Google) Code Review committed 2022-02-15 22:34:34 +00:00
commit 0a2f5b0baa
1 file changed
+1 -1
@@ -278,7 +278,7 @@ public class SwipePipToHomeAnimator extends RectFSpringAnim {
private RotatedPosition getRotatedPosition(float progress) {
final float degree, positionX, positionY;
if (TaskAnimationManager.ENABLE_SHELL_TRANSITIONS) {
if (TaskAnimationManager.SHELL_TRANSITIONS_ROTATION) {
if (mFromRotation == Surface.ROTATION_90) {
degree = -90 * (1 - progress);
positionX = progress * (mDestinationBoundsTransformed.left - mStartBounds.left)