mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Merge "Fix Taskbar Flicker with Recents or Running Apps Present" into main
This commit is contained in:
@@ -129,7 +129,10 @@ class TaskbarOverflowTest {
|
||||
if (!recentAppsController.canShowRunningApps) {
|
||||
recentAppsController.onDestroy()
|
||||
recentAppsController.canShowRunningApps = true
|
||||
recentAppsController.init(taskbarUnitTestRule.activityContext.controllers)
|
||||
recentAppsController.init(
|
||||
taskbarUnitTestRule.activityContext.controllers,
|
||||
emptyList(),
|
||||
)
|
||||
}
|
||||
|
||||
currentControllerInitCallback.invoke()
|
||||
|
||||
@@ -118,7 +118,7 @@ class TaskbarRecentAppsControllerTest : TaskbarBaseTestCase() {
|
||||
recentAppsController = TaskbarRecentAppsController(mockContext, mockRecentsModel)
|
||||
recentAppsController.canShowRunningApps = canShowRunningAndRecentAppsAtInit
|
||||
recentAppsController.canShowRecentApps = canShowRunningAndRecentAppsAtInit
|
||||
recentAppsController.init(taskbarControllers)
|
||||
recentAppsController.init(taskbarControllers, emptyList())
|
||||
taskbarControllers.onPostInit()
|
||||
|
||||
recentTasksChangedListener =
|
||||
|
||||
Reference in New Issue
Block a user