mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Revert "[Overview Actions] UI update for Landscape."
This reverts commit 160ca4b8a2.
Reason for revert: Got issues like b/158318606 when switch nav modes, also the margin seems not set properly. And this doesn't work for 3 button mode too. Would switch to just use task menu for all.
Change-Id: I645f2a2a9032ae99799c75bcc6c983c1bbfd8df8
This commit is contained in:
@@ -93,7 +93,7 @@ public abstract class BaseQuickstepLauncher extends Launcher
|
||||
public void onNavigationModeChanged(Mode newMode) {
|
||||
getDragLayer().recreateControllers();
|
||||
if (mActionsView != null && isOverviewActionsEnabled()) {
|
||||
mActionsView.updateVerticalMargin(newMode);
|
||||
mActionsView.updateVerticalMarginForNavModeChange(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.updateVerticalMargin(SysUINavigationMode.getMode(this));
|
||||
mActionsView.updateVerticalMarginForNavModeChange(SysUINavigationMode.getMode(this));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user