Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 575b629e authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

Merge "WindowStateAnimation: Clear transformation clip rect." into mnc-dr-dev

parents ae5a53d7 38451b82
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1064,6 +1064,8 @@ class WindowStateAnimator {
                mAnimator.getScreenRotationAnimationLocked(displayId);
        final boolean screenAnimation =
                screenRotationAnimation != null && screenRotationAnimation.isAnimating();

        mHasClipRect = false;
        if (selfTransformation || attachedTransformation != null
                || appTransformation != null || screenAnimation) {
            // cache often used attributes locally
@@ -1139,7 +1141,6 @@ class WindowStateAnimator {
            // transforming since it is more important to have that
            // animation be smooth.
            mShownAlpha = mAlpha;
            mHasClipRect = false;
            if (!mService.mLimitedAlphaCompositing
                    || (!PixelFormat.formatHasAlpha(mWin.mAttrs.format)
                    || (mWin.isIdentityMatrix(mDsDx, mDtDx, mDsDy, mDtDy)