mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Fix Hotseat flashing during DW to home transition
Problem: upon exiting the deesktop mode we were getting change in recents tasks which we were commiting to ui and that resulted in hotseat flashing. Solution: since layout transition is only in use while we are in desktop windowing mode, we will only need to change icon layout bound while we are in desktop mode and not when we are exiting. Test: Manual, Presubmit Bug: 417696108 Bug: 415700104 Flag: EXEMPT bugfix Change-Id: Ibcf65df49e7b48312a27d2750d3d0c6c5d392006
This commit is contained in:
@@ -119,6 +119,7 @@ class TaskbarRecentAppsControllerTest : TaskbarBaseTestCase() {
|
||||
recentTasksChangedListener = null
|
||||
it
|
||||
}
|
||||
whenever(taskbarDesktopModeController.isLauncherAnimationRunning).thenReturn(false)
|
||||
recentAppsController = TaskbarRecentAppsController(mockContext, mockRecentsModel)
|
||||
recentAppsController.canShowRunningApps = canShowRunningAndRecentAppsAtInit
|
||||
recentAppsController.canShowRecentApps = canShowRunningAndRecentAppsAtInit
|
||||
|
||||
Reference in New Issue
Block a user