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

Commit 87eff7fd authored by Ben Lin's avatar Ben Lin Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in Desktop tests when secondary display bug fix flag is on." into main

parents fe713aa2 94119c03
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -177,6 +177,7 @@ open class DesktopModeWindowDecorViewModelTestsBase : ShellTestCase() {
        spyContext.addMockSystemService(InputManager::class.java, mockInputManager)
        desktopModeEventLogger = mock<DesktopModeEventLogger>()
        whenever(mockDesktopUserRepositories.current).thenReturn(mockDesktopRepository)
        whenever(mockDisplayController.getDisplayContext(any())).thenReturn(spyContext)
        whenever(mockDesktopUserRepositories.getProfile(anyInt()))
            .thenReturn(mockDesktopRepository)
        desktopModeWindowDecorViewModel = DesktopModeWindowDecorViewModel(