Revert "Revert "[Overview Actions] UI update for Landscape.""

This reverts commit 4dfcbec512.

Reason for revert: Fix the margin issue by handling the bottom
insets ourselves.

Change-Id: Ic01cadbbe847e419af8bb444ad57764e719152c3
This commit is contained in:
Becky Qiu
2020-06-08 17:52:54 +00:00
parent ee4a2fe698
commit 70ff0c1144
4 changed files with 40 additions and 15 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));
}
}