Merge "Fix wallpaper flicker when quick switching apps using taskbar swipe" into udc-dev

This commit is contained in:
Eghosa Ewansiha-Vlachavas
2023-05-17 10:48:32 +00:00
committed by Android (Google) Code Review

View File

@@ -1932,7 +1932,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
final ActivityRecord atoken = mActivityRecord;
if (atoken != null) {
return ((!isParentWindowHidden() && atoken.isVisible())
|| isAnimating(TRANSITION | PARENTS));
|| isAnimationRunningSelfOrParent());
}
final WallpaperWindowToken wtoken = mToken.asWallpaperToken();
if (wtoken != null) {