Merge "Fix launching window bounds for immersive apps" into sc-v2-dev am: c6649763a7 am: d9a4c9b03f

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049085

Change-Id: Ia29cf8a50e9152dbef024b307cb0c2ee5fe0579b
This commit is contained in:
TreeHugger Robot
2021-10-25 23:54:42 +00:00
committed by Automerger Merge Worker
@@ -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;
}