Make moveToSideStage doing reparent oeprations only and leave all the other active operations to onStageHasChildren. Also make sure it evicts original children. Remove setLaunchRoot and setWindowingMode operations in MainStage since it won't be set as launch root and won't change in between of fullscreen and multi-window windowing mode anymore. Fix: 204519739 Bug: 202740040 Test: atest WMShellUnitTests Change-Id: I6199862502646056966412824a5be840a15e8726
WM Shell Test
This contains all tests written for WM (WindowManager) Shell and it's currently divided into 3 categories
- unittest, tests against individual functions, usually @SmallTest and do not require UI automation nor real device to run
- integration, this maybe a mix of functional and integration tests. Contains tests verify the WM Shell as a whole, like talking to WM core. This usually involves mocking the window manager service or even talking to the real one. Due to this nature, test cases in this package is normally annotated as @LargeTest and runs with UI automation on real device
- flicker, similar to functional tests with its sole focus on flickerness. See WM Shell Flicker Test Package for more details