Merge "Ignore wallpaper enter animation" into sc-dev
This commit is contained in:
@@ -683,8 +683,9 @@ class WindowStateAnimator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We don't apply animation for application main window here since this window type
|
// We don't apply animation for application main window here since this window type
|
||||||
// should be controlled by AppWindowToken in general.
|
// should be controlled by ActivityRecord in general. Wallpaper is also excluded because
|
||||||
if (mAttrType != TYPE_BASE_APPLICATION) {
|
// WallpaperController should handle it.
|
||||||
|
if (mAttrType != TYPE_BASE_APPLICATION && !mIsWallpaper) {
|
||||||
applyAnimationLocked(transit, true);
|
applyAnimationLocked(transit, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user