Clean unecessary branching
Bug: N/A Test: Not needed, not changing any logic Change-Id: I25e9883980b26b6167451ba7b5a8f9b5efc01fe1
This commit is contained in:
@@ -729,12 +729,7 @@ class WindowStateAnimator {
|
||||
if (!mService.mLimitedAlphaCompositing
|
||||
|| (!PixelFormat.formatHasAlpha(mWin.mAttrs.format)
|
||||
|| (mWin.isIdentityMatrix(mDsDx, mDtDx, mDtDy, mDsDy)))) {
|
||||
//Slog.i(TAG_WM, "Applying alpha transform");
|
||||
if (screenAnimation) {
|
||||
mShownAlpha *= screenRotationAnimation.getEnterTransformation().getAlpha();
|
||||
}
|
||||
} else {
|
||||
//Slog.i(TAG_WM, "Not applying alpha transform");
|
||||
mShownAlpha *= screenRotationAnimation.getEnterTransformation().getAlpha();
|
||||
}
|
||||
|
||||
if ((DEBUG_ANIM || WindowManagerService.localLOGV)
|
||||
|
||||
Reference in New Issue
Block a user