Merge "Clear corner radius of pip task when changing to fullscreen" into sc-v2-dev

This commit is contained in:
Riddle Hsu
2021-10-15 06:12:11 +00:00
committed by Android (Google) Code Review

View File

@@ -1926,6 +1926,7 @@ class Task extends TaskFragment {
final ActivityRecord r = topRunningActivity();
if (r != null && mDisplayContent.isFixedRotationLaunchingApp(r)) {
getSyncTransaction().setWindowCrop(mSurfaceControl, null)
.setCornerRadius(mSurfaceControl, 0f)
.setMatrix(mSurfaceControl, Matrix.IDENTITY_MATRIX, new float[9]);
}
}