diff --git a/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java b/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java index c3ce4399ef..8aaa40c6bb 100644 --- a/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java +++ b/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java @@ -239,7 +239,7 @@ public class ClipAnimationHelper { updateStackBoundsToMultiWindowTaskSize(activity); } else { mSourceStackBounds.set(mHomeStackBounds); - mSourceInsets.set(activity.getDeviceProfile().getInsets()); + mSourceInsets.set(ttv.getInsets()); } TransformedRect targetRect = new TransformedRect();