diff --git a/quickstep/src/com/android/launcher3/QuickstepAppTransitionManagerImpl.java b/quickstep/src/com/android/launcher3/QuickstepAppTransitionManagerImpl.java index 25c07f15b8..c0d16c9ba8 100644 --- a/quickstep/src/com/android/launcher3/QuickstepAppTransitionManagerImpl.java +++ b/quickstep/src/com/android/launcher3/QuickstepAppTransitionManagerImpl.java @@ -611,8 +611,10 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans } matrix.setTranslate(tmpPos.x, tmpPos.y); + final Rect crop = new Rect(target.screenSpaceBounds); + crop.offsetTo(0, 0); builder.withMatrix(matrix) - .withWindowCrop(target.screenSpaceBounds) + .withWindowCrop(crop) .withAlpha(1f); } params[i] = builder.build(); @@ -781,8 +783,10 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans builder.withMatrix(matrix) .withAlpha(1f); } + final Rect crop = new Rect(target.screenSpaceBounds); + crop.offsetTo(0, 0); params[i] = builder - .withWindowCrop(target.screenSpaceBounds) + .withWindowCrop(crop) .build(); } surfaceApplier.scheduleApply(params);