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

Commit 7d192c0e authored by Tony Wickham's avatar Tony Wickham
Browse files

Remove extra overview threshold if the transient taskbar is already open

Test: Swipe to overview when taskbar is already opened vs not
Fixes: 264555943
Change-Id: Ib4c31b085ca51e50fd7442ff9a27a5f47822c242
parent eef0b164
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -365,7 +365,10 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
                .getDimensionPixelSize(ENABLE_TASKBAR_REVISED_THRESHOLDS.get()
                        ? R.dimen.taskbar_app_window_threshold_v2
                        : R.dimen.taskbar_app_window_threshold);
        mTaskbarHomeOverviewThreshold = res.getDimensionPixelSize(
        boolean swipeWillNotShowTaskbar = mTaskbarAlreadyOpen;
        mTaskbarHomeOverviewThreshold = swipeWillNotShowTaskbar
                ? 0
                : res.getDimensionPixelSize(
                        ENABLE_TASKBAR_REVISED_THRESHOLDS.get()
                                ? R.dimen.taskbar_home_overview_threshold_v2
                                : R.dimen.taskbar_home_overview_threshold);