Merge "Do not notify desk mode changes on visible desk tasks count changes" into main

This commit is contained in:
Treehugger Robot
2025-03-17 18:29:02 -07:00
committed by Android (Google) Code Review
5 changed files with 49 additions and 35 deletions

View File

@@ -960,7 +960,7 @@ class TaskbarRecentAppsControllerTest : TaskbarBaseTestCase() {
private fun setInDesktopMode(inDesktopMode: Boolean) {
whenever(taskbarControllers.taskbarDesktopModeController.shouldShowDesktopTasksInTaskbar())
.thenReturn(inDesktopMode)
whenever(taskbarControllers.taskbarDesktopModeController.isInDesktopMode)
whenever(taskbarControllers.taskbarDesktopModeController.isInDesktopMode(DEFAULT_DISPLAY))
.thenReturn(inDesktopMode)
}