Revert^2 "Introduce Windowless starting window."
This reverts commit c9303986. Reason for revert: reland ag/20426257 Refine the file strcutre. The remove window process now extract as an interface, each type of starting window can handle it based on different scenario. For legacy starting window: Splash screen window and related API => SplashscreenWindowCreator Task snapshot window related => SnapshotWindowCreator Support windowless starting surface: - Draw splash view to a surface => WindowlessSplashWindowCreator A simple splash screen view with a static icon on it. It can play default reveal animation while remove. - Draw snapshot to a surface => WindowlessSnapshotWindowCreator Similar to TaskSnapshotWindow just no window. It will play a fade out animation while remove because there is no default window animation. Add another callback IWindowlessStartingSurfaceCallback for windowless starting surface. Unlike starting window, there is no "addWindow" signal to let core know the surface is create. Also note the windowless starting surface is just a surface, it won't support window-like features such as configuration change or resize. Bug: 257857570 Test: atest SplashscreenTests StartingSurfaceDrawerTests Test: verify legacy starting window work. Simulate that create splash screen view fail won't crash SystemUI process. Change-Id: Id95be6a4ff9472955b4f2b717748a331b1fad804
Loading
Please register or sign in to comment