onDisplayAreaInfoChanged might callback many times in one action such like fold to unfold, it might cause some issues because we don't use lastet config resources to set SplitLayout. Another bug is we cannot get divider leash immediately after we init it because leash is built after attachToParentSurface. Fix both bug by always do whole SplitLayout setting if any cared configs changed. And add a callback after divider leash build, show the leash on this callback to ensure we got null leash. Fix: 198581512 Fix: 197296095 Test: manual Test: pass existing tests Change-Id: I06a4093927d6469a85b2104b36c16d6e16519a51
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