Use task insets rather than launcher insets when swiping down

This fixes the issue where dragging down on full screen apps was
offset by the status bar even though it shouldn't be.

Bug: 77979532
Change-Id: I8cb17778c4ae66b1821e86dd757626f875a27d2d
This commit is contained in:
Tony 2018-09-24 15:31:40 -04:00
parent 1473b8e102
commit 6379d5370b
1 changed files with 1 additions and 1 deletions

View File

@ -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();