Skip to content
Commit 5bd11afa authored by lumark's avatar lumark
Browse files

Make WC#applyAnimation can apply on Task / TaskStack layer (2/N)

- Introduce WC#getAnimatingContainer to get the current animating container:
  When Task / TaskStack level animation enabled, some checks  in WallpaperController,
  like to check wallpaper.mActivityRecord.getAnimation.getShowWallpaper if the animation
  should show wallpaper, would need to use this method to get the value from
  the upper layer of animating container.

- Fix some places that calls isAnimating() needs to add PARENTS flag in
  WallpaperController / WindowState

Bug: 142617871
Bug: 131661052
Test: atest WindowContainerTests, WallpaperControllerTests

Change-Id: I842f377d643d43104facaba4f401a76ef9dd2ce0
parent 5341d1c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment