diff --git a/services/core/java/com/android/server/wm/Task.java b/services/core/java/com/android/server/wm/Task.java index 325f10f65af24..136a5a16fa7d1 100644 --- a/services/core/java/com/android/server/wm/Task.java +++ b/services/core/java/com/android/server/wm/Task.java @@ -7653,9 +7653,9 @@ class Task extends WindowContainer { mLastRecentsAnimationTransaction = null; mLastRecentsAnimationOverlay = null; // reset also the crop and transform introduced by mLastRecentsAnimationTransaction - Rect bounds = getBounds(); getPendingTransaction().setMatrix(mSurfaceControl, Matrix.IDENTITY_MATRIX, new float[9]) - .setWindowCrop(mSurfaceControl, bounds.width(), bounds.height()); + .setWindowCrop(mSurfaceControl, null) + .setCornerRadius(mSurfaceControl, 0); } void maybeApplyLastRecentsAnimationTransaction() {