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

Commit 4bd89e07 authored by Maryam Dehaini's avatar Maryam Dehaini
Browse files

Test fix for request fullscreen bugfix

Bug: 402973271
Flag: com.android.window.flags.enable_request_fullscreen_bugfix
Test: atest StageCoordinatorTest
Change-Id: I95d64579efe6c8ffc7e678601737c79ab203729a
parent 09e40abb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -548,6 +548,7 @@ public class StageCoordinatorTests extends ShellTestCase {
    }

    @Test
    @EnableFlags({Flags.FLAG_ENABLE_REQUEST_FULLSCREEN_BUGFIX})
    public void testDismiss_fullscreenDisplay() {
        when(mStageCoordinator.isSplitActive()).thenReturn(true);

@@ -555,7 +556,7 @@ public class StageCoordinatorTests extends ShellTestCase {
        mStageCoordinator.prepareExitSplitScreen(STAGE_TYPE_MAIN, wct, EXIT_REASON_DRAG_DIVIDER);

        assertEquals(wct.getChanges().get(mMainChildTaskInfo.token.asBinder()).getWindowingMode(),
                WINDOWING_MODE_UNDEFINED);
                WINDOWING_MODE_FULLSCREEN);
    }

    @Test