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

Commit 6d34ffde authored by Jagrut Desai's avatar Jagrut Desai
Browse files

Correcting Logic of touch ouside of container.

Test: presubmit, manual
Bug: 311761184
Flag: NONE
Change-Id: Id014a16d67d06ebeed5e54358472890bb582ae89
parent 83d42f71
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2290,7 +2290,7 @@ public final class LauncherInstrumentation {
            int bottomBound = Math.min(
                    containerBounds.bottom,
                    getRealDisplaySize().y - getImeInsets().bottom);
            int y = (bottomBound + containerBounds.top) / 2;
            int y = (bottomBound - containerBounds.top) / 2;
            // Do not tap in the status bar.
            y = Math.max(y, getWindowInsets().top);