Remove SurfaceView#setUseAlpha

Alpha on SurfaceView just works now.

Bug: 241474646
Test: builds
Change-Id: I545a6f64e797e127e35dc6183acb895af1bc37cc
This commit is contained in:
Alec Mouri
2022-09-01 23:31:17 +00:00
parent eb803fd53e
commit 90615b24a5
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());