summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Maryam Dehaini <mdehaini@google.com> 2025-03-19 10:52:55 -0700
committer Maryam Dehaini <mdehaini@google.com> 2025-03-19 10:52:55 -0700
commit4bd89e07eefa3b1c52fa0bbe389e47583c477141 (patch)
treeb4ad520de5f41a36f94139c43de56d23233b78b8
parent09e40abb761d4c339b0bb0746aacc3f0bdf06f7e (diff)
Test fix for request fullscreen bugfix
Bug: 402973271 Flag: com.android.window.flags.enable_request_fullscreen_bugfix Test: atest StageCoordinatorTest Change-Id: I95d64579efe6c8ffc7e678601737c79ab203729a
-rw-r--r--libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/StageCoordinatorTests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/StageCoordinatorTests.java b/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/StageCoordinatorTests.java
index 077b35583e04..bab1480a4196 100644
--- a/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/StageCoordinatorTests.java
+++ b/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/StageCoordinatorTests.java
@@ -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