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

Commit 30bd8863 authored by fbaron's avatar fbaron
Browse files

Make touch outside container touch at the middle of the container in terms of height

Bug: 326839375
Test: TaplTestsQuickstep#testOverviewDeadzones
Flag: NONE
Change-Id: I7a013ab7d146756cbff009c21b838881e09e044a
parent 6300f055
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2452,7 +2452,7 @@ public final class LauncherInstrumentation {
            int bottomBound = Math.min(
                    containerBounds.bottom,
                    getRealDisplaySize().y - systemGestureRegion.bottom);
            int y = (bottomBound - containerBounds.top) / 2;
            int y = (bottomBound + containerBounds.top) / 2;
            // Do not tap in the status bar.
            y = Math.max(y, systemGestureRegion.top);