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:
parent
1473b8e102
commit
6379d5370b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue