Merge "Clear corner radius of pip task when changing to fullscreen" into sc-v2-dev
This commit is contained in:
@@ -1926,6 +1926,7 @@ class Task extends TaskFragment {
|
|||||||
final ActivityRecord r = topRunningActivity();
|
final ActivityRecord r = topRunningActivity();
|
||||||
if (r != null && mDisplayContent.isFixedRotationLaunchingApp(r)) {
|
if (r != null && mDisplayContent.isFixedRotationLaunchingApp(r)) {
|
||||||
getSyncTransaction().setWindowCrop(mSurfaceControl, null)
|
getSyncTransaction().setWindowCrop(mSurfaceControl, null)
|
||||||
|
.setCornerRadius(mSurfaceControl, 0f)
|
||||||
.setMatrix(mSurfaceControl, Matrix.IDENTITY_MATRIX, new float[9]);
|
.setMatrix(mSurfaceControl, Matrix.IDENTITY_MATRIX, new float[9]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user