commit | f282735a08bcdc7de1dafbfebaedfb5fde6f3ca6 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Mon Nov 01 20:21:09 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Nov 01 20:21:09 2021 +0000 |
tree | 51d47cde38be202865d6decd73331188b5dbcb61 | |
parent | 26bcfe19d410f1446548d946ef1e6baec5e17219 [diff] | |
parent | c29f5441da2504a16ba8906e503ffcc4727b7869 [diff] |
Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev am: c29f5441da Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143050 Change-Id: If6ee9defe28dd7c9cb00bebc724bcc1ed8512f34
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; }