Improve enter split transition by two part changes. 1. Enter split with resizing animation: We directly show split but no animation before, it might looks bad to user because UI change too many things in few frames. 2. Fix flicker cause by black screen when split active: When we start intent on side stage task, the top split root task will go to top and current top one task will be set as invisible then cause black screen due to split root task is full screen. Solve this by use new wct api setForceTranslucent to make split root task as translucent when split inactive. We need to reset it when split active otherwise it cause flicker when back to home. Except above change, we also need to set side stage bounds to area outside of screen otherwise it still cause flicker because it will show a flash of shadow when launch intent on side stage. This solution should be removed after shell transition fully landing because in shell transition we could make those transitions be done in one transition. 3. Fix b/243634747 caused by the previous CL. We should ensure split top root is non-translucnet after split active by any flow. 4. Fix b/243735702 which occured on the previous CL. Because sync transcation might apply after the animation, we could remove apply when split active but only apply by the animator. Fix: 223325631 Fix: 243634747 Fix: 243735702 Test: manual Test: pass existing tests Change-Id: Id8822aafe9eb0d6d5b0282cea256db622b9730d0
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