mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Fix Taskbar Flicker with Recents or Running Apps Present
Test: Manual, Presubmit Bug: 404772481 Flag: EXEMPT bugfix Change-Id: If3b87474e6e85fabf24a42ac2a3e4ac6a19a4358
This commit is contained in:
@@ -177,7 +177,7 @@ public class TaskbarControllers {
|
||||
bubbleControllers.ifPresent(controllers -> controllers.init(sharedState, this));
|
||||
taskbarInsetsController.init(this);
|
||||
voiceInteractionWindowController.init(this);
|
||||
taskbarRecentAppsController.init(this);
|
||||
taskbarRecentAppsController.init(this, sharedState.recentTasksBeforeTaskbarRecreate);
|
||||
taskbarTranslationController.init(this);
|
||||
taskbarEduTooltipController.init(this);
|
||||
keyboardQuickSwitchController.init(this);
|
||||
@@ -264,7 +264,6 @@ public class TaskbarControllers {
|
||||
*/
|
||||
public void onDestroy() {
|
||||
mAreAllControllersInitialized = false;
|
||||
mSharedState = null;
|
||||
|
||||
taskbarDragController.onDestroy();
|
||||
navbarButtonsViewController.onDestroy();
|
||||
@@ -289,6 +288,7 @@ public class TaskbarControllers {
|
||||
taskbarDesktopModeController.onDestroy();
|
||||
mControllersToLog = null;
|
||||
mBackgroundRendererControllers = null;
|
||||
mSharedState = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user