Loading services/core/java/com/android/server/wm/WindowState.java +8 −1 Original line number Diff line number Diff line Loading @@ -2052,10 +2052,17 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP // animating... let's do something. final int left = mWindowFrames.mFrame.left; final int top = mWindowFrames.mFrame.top; // During the transition from pip to fullscreen, the activity windowing mode is set to // fullscreen at the beginning while the task is kept in pinned mode. Skip the move // animation in such case since the transition is handled in SysUI. final boolean hasMovementAnimation = getTask() == null ? getWindowConfiguration().hasMovementAnimations() : getTask().getWindowConfiguration().hasMovementAnimations(); if (mToken.okToAnimate() && (mAttrs.privateFlags & PRIVATE_FLAG_NO_MOVE_ANIMATION) == 0 && !isDragResizing() && getWindowConfiguration().hasMovementAnimations() && hasMovementAnimation && !mWinAnimator.mLastHidden && !mSeamlesslyRotated) { startMoveAnimation(left, top); Loading Loading
services/core/java/com/android/server/wm/WindowState.java +8 −1 Original line number Diff line number Diff line Loading @@ -2052,10 +2052,17 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP // animating... let's do something. final int left = mWindowFrames.mFrame.left; final int top = mWindowFrames.mFrame.top; // During the transition from pip to fullscreen, the activity windowing mode is set to // fullscreen at the beginning while the task is kept in pinned mode. Skip the move // animation in such case since the transition is handled in SysUI. final boolean hasMovementAnimation = getTask() == null ? getWindowConfiguration().hasMovementAnimations() : getTask().getWindowConfiguration().hasMovementAnimations(); if (mToken.okToAnimate() && (mAttrs.privateFlags & PRIVATE_FLAG_NO_MOVE_ANIMATION) == 0 && !isDragResizing() && getWindowConfiguration().hasMovementAnimations() && hasMovementAnimation && !mWinAnimator.mLastHidden && !mSeamlesslyRotated) { startMoveAnimation(left, top); Loading