Merge "Ignore wallpaper enter animation" into sc-dev

This commit is contained in:
Riddle Hsu
2021-06-23 12:17:51 +00:00
committed by Android (Google) Code Review

View File

@@ -683,8 +683,9 @@ class WindowStateAnimator {
}
// We don't apply animation for application main window here since this window type
// should be controlled by AppWindowToken in general.
if (mAttrType != TYPE_BASE_APPLICATION) {
// should be controlled by ActivityRecord in general. Wallpaper is also excluded because
// WallpaperController should handle it.
if (mAttrType != TYPE_BASE_APPLICATION && !mIsWallpaper) {
applyAnimationLocked(transit, true);
}