Merge "TaskbarViewController should only translate on rotation if icon is aligned with hotseat" into tm-qpr-dev

This commit is contained in:
Alex Chau authored and Android (Google) Code Review committed 2022-12-16 19:06:25 +00:00
commit 2f581b799b
1 file changed
+2 -2
@@ -428,8 +428,8 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
}
public void onRotationChanged(DeviceProfile deviceProfile) {
if (mControllers.taskbarStashController.isInApp()) {
// We only translate on rotation when on home
if (!mControllers.uiController.isIconAlignedWithHotseat()) {
// We only translate on rotation when icon is aligned with hotseat
return;
}
mActivity.setTaskbarWindowHeight(