Merge "Fix launching window bounds for immersive apps" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-10-25 23:20:47 +00:00
committed by Android (Google) Code Review
@@ -439,9 +439,9 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
4 - rotationChange);
}
}
// TODO(b/196637509): don't do this for immersive apps.
if (mDeviceProfile.isTaskbarPresentInApps) {
bounds.bottom -= mDeviceProfile.taskbarSize;
// Animate to above the taskbar.
bounds.bottom -= target.contentInsets.bottom;
}
return bounds;
}