commit | 6379d5370b77af0d3c2e926ed38174144aebbac0 | [log] [tgz] |
---|---|---|
author | Tony <twickham@google.com> | Mon Sep 24 15:31:40 2018 -0400 |
committer | Tony <twickham@google.com> | Mon Sep 24 15:31:40 2018 -0400 |
tree | 1481a20ee444bc247404cebc657688f8f1b0efeb | |
parent | 1473b8e1025d17578b08e062427c3af46764efa6 [diff] |
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
diff --git a/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java b/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java index c3ce439..8aaa40c 100644 --- a/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java +++ b/quickstep/src/com/android/quickstep/util/ClipAnimationHelper.java
@@ -239,7 +239,7 @@ updateStackBoundsToMultiWindowTaskSize(activity); } else { mSourceStackBounds.set(mHomeStackBounds); - mSourceInsets.set(activity.getDeviceProfile().getInsets()); + mSourceInsets.set(ttv.getInsets()); } TransformedRect targetRect = new TransformedRect();