Merge "Correcting Logic of touch ouside of container." into main
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user