SystemUI does not need to re-calculate background color of starting window because Shell library is bound to SystemUI, so status bar can get background color directly, also this can support to get the background color from snapshot starting window. Also fix the starting window listener did not receiveing background color successful because makeSplashScreenContentView is execute on another background thread, so there should block the splash screen thread until the background color is estimated. Bug: 192213918 Bug: 192659309 Test: manual launch apps from Notification and Launcher, ensure the color is correctly send to SystemUI or Launcher. Change-Id: I626cb23d7aebfe4e032fad285bfad374c0e11cea
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