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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16046587

Change-Id: Iafe8c339b6ef1cefcdecb32b0d9c14dfff8b3e0c
This commit is contained in:
Riddle Hsu
2021-10-15 09:30:20 +00:00
committed by Automerger Merge Worker

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]);
}
}