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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23262476

Change-Id: Ie373586eaf944658fe8adca8e09b85d217f74073
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Eghosa Ewansiha-Vlachavas
2023-05-17 11:46:47 +00:00
committed by Automerger Merge Worker

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) {