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

Commit 2e272097 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Set default display to be fullscreen."

parents e4e0b18c 40428527
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -287,6 +287,10 @@ public class SystemServicesTestRule implements TestRule {
        // Mock root, some default display, and home stack.
        spyOn(mWmService.mRoot);
        final ActivityDisplay display = mAtmService.mRootActivityContainer.getDefaultDisplay();
        // Set default display to be in fullscreen mode. Devices with PC feature may start their
        // default display in freeform mode but some of tests in WmTests have implicit assumption on
        // that the default display is in fullscreen mode.
        display.setDisplayWindowingMode(WINDOWING_MODE_FULLSCREEN);
        spyOn(display);
        spyOn(display.mDisplayContent);
        final ActivityStack homeStack = display.getStack(