diff options
| author | 2021-06-23 12:17:51 +0000 | |
|---|---|---|
| committer | 2021-06-23 12:17:51 +0000 | |
| commit | 2a7139a34f0cad1a884e85f92066c5939f118f8b (patch) | |
| tree | d8359fcbfacc3fbd50113ed2b0d557e812cb9378 | |
| parent | ea4260ea518ed81dfffc98355500a42d193fa87e (diff) | |
| parent | b8fe6eb7cae8e6c3329dcdc5a41f0880957b5d3c (diff) | |
Merge "Ignore wallpaper enter animation" into sc-dev
| -rw-r--r-- | services/core/java/com/android/server/wm/WindowStateAnimator.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/WindowStateAnimator.java b/services/core/java/com/android/server/wm/WindowStateAnimator.java index 9a6e4448966d..4471f6c91190 100644 --- a/services/core/java/com/android/server/wm/WindowStateAnimator.java +++ b/services/core/java/com/android/server/wm/WindowStateAnimator.java @@ -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); } |