am 575b629e: Merge "WindowStateAnimation: Clear transformation clip rect." into mnc-dr-dev
* commit '575b629ef8e21cca5a40acaafeee7653d90956fe': WindowStateAnimation: Clear transformation clip rect.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user