Skip to content
Commit 565f8274 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by wilsonshih
Browse files

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
parent 1ee1185b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment