Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af0b447e authored by Tony Wickham's avatar Tony Wickham Committed by Automerger Merge Worker
Browse files

Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev am: c29f5441

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143050

Change-Id: Id6cf4eb35c638d303f78930d4fdcb1dc3e205d5c
parents 97ad331b c29f5441
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -677,6 +677,9 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
    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;
    }