commit | aef3645bec2af7fdb5562bf3253f68aa264ed011 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Mon Nov 01 20:29:09 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Nov 01 20:29:09 2021 +0000 |
tree | 6c92e471c92ccb43d70ee01ee49c69240e819939 | |
parent | 6f1280697b317701239f6c82968f91b1716cef6f [diff] | |
parent | af0b447e29cc8038dea71161f05a8591c4cf07a5 [diff] |
Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev am: c29f5441da am: af0b447e29 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143050 Change-Id: I4b202a89409cee0136e2248fe3e8cb7584a34114
diff --git a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java index 06f3288..30a0fdf 100644 --- a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +++ b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java
@@ -677,6 +677,9 @@ public WindowInsets onApplyWindowInsets(View view, WindowInsets windowInsets) { WindowInsets result = view.onApplyWindowInsets(windowInsets); buildAnimationController(); + // Reapply the current shift to ensure it takes new insets into account, e.g. when long + // pressing to stash taskbar without moving the finger. + updateFinalShift(); return result; }