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

Commit 3c848b0d authored by Tony Wickham's avatar Tony Wickham
Browse files

Reapply TaskViewSimulator in onApplyWindowInsets()

Test: Long press on bottom of taskbar to stash without moving my finger, ensure underlying app draws all the way behind the stashed handle
Fixes: 204165836
Change-Id: Ia1e138b9c369ac789e862ba760068f90bd64d312
parent d238074c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -673,6 +673,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;
    }