mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Reapply "Support toggling Taskbar All Apps with 3P Launcher." am: 036a83cd99
The revert was not supposed to be auto-merged. This reverts commit5a3bf93d82, reversing changes made to84f8002586. Bug: 331384026 Change-Id: Ieb11a8544db90259aae856c4af805c37ce9e68cc
This commit is contained in:
@@ -413,6 +413,13 @@ public class LauncherTaskbarUIController extends TaskbarUIController {
|
||||
return mTaskbarLauncherStateController.isInOverview();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean canToggleHomeAllApps() {
|
||||
return mLauncher.isResumed()
|
||||
&& !mTaskbarLauncherStateController.isInOverview()
|
||||
&& !mLauncher.areFreeformTasksVisible();
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecentsView getRecentsView() {
|
||||
return mLauncher.getOverviewPanel();
|
||||
|
||||
Reference in New Issue
Block a user