Merge "Remove SurfaceView#setUseAlpha"

This commit is contained in:
TreeHugger Robot
2022-10-13 21:23:50 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 2 deletions

View File

@@ -109,7 +109,6 @@ public class TaskView extends SurfaceView implements SurfaceHolder.Callback,
if (mTaskViewTransitions != null) {
mTaskViewTransitions.addTaskView(this);
}
setUseAlpha();
getHolder().addCallback(this);
mGuard.open("release");
}

View File

@@ -938,7 +938,6 @@ public class BubbleStackView extends FrameLayout
addView(mAnimatingOutSurfaceContainer);
mAnimatingOutSurfaceView = new SurfaceView(getContext());
mAnimatingOutSurfaceView.setUseAlpha();
mAnimatingOutSurfaceView.setZOrderOnTop(true);
boolean supportsRoundedCorners = ScreenDecorationsUtils.supportsRoundedCornersOnWindows(
mContext.getResources());