Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee7cfd43 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove redundant test setup" into main

parents 557a3402 fa46e969
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -4021,15 +4021,6 @@ class DesktopTasksControllerTest(flags: FlagsParameterization) : ShellTestCase()
            taskRepository.addDesk(displayId = SECOND_DISPLAY, deskId = 2)
        }

        // Create a mock for the target display area: second display
        val secondDisplayArea = DisplayAreaInfo(MockToken().token(), SECOND_DISPLAY, 0)
        whenever(rootTaskDisplayAreaOrganizer.getDisplayAreaInfo(SECOND_DISPLAY))
            .thenReturn(secondDisplayArea)

        // Set up external display content
        val secondaryDisplay = mock(Display::class.java)
        whenever(displayController.getDisplay(SECOND_DISPLAY)).thenReturn(secondaryDisplay)

        desktopState.overrideDesktopModeSupportPerDisplay[SECOND_DISPLAY] =
            isDesktopModeSupportedOnDestination