Merge "[Overview Actions] UI update for Landscape." into ub-launcher3-rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-03 22:31:45 +00:00
committed by Android (Google) Code Review
4 changed files with 28 additions and 13 deletions

View File

@@ -93,7 +93,7 @@ public abstract class BaseQuickstepLauncher extends Launcher
public void onNavigationModeChanged(Mode newMode) {
getDragLayer().recreateControllers();
if (mActionsView != null && isOverviewActionsEnabled()) {
mActionsView.updateVerticalMarginForNavModeChange(newMode);
mActionsView.updateVerticalMargin(newMode);
}
}
@@ -175,7 +175,7 @@ public abstract class BaseQuickstepLauncher extends Launcher
// Overview is above all other launcher elements, including qsb, so move it to the top.
getOverviewPanel().bringToFront();
mActionsView.bringToFront();
mActionsView.updateVerticalMarginForNavModeChange(SysUINavigationMode.getMode(this));
mActionsView.updateVerticalMargin(SysUINavigationMode.getMode(this));
}
}