Merge "Increased the ratio of the bottom coordinate to the screen for doing quick switch gesture in tests."

This commit is contained in:
Josh Chien
2022-10-04 01:23:03 +00:00
committed by Android (Google) Code Review

View File

@@ -63,7 +63,7 @@ class GameAppHelper @JvmOverloads constructor(
wmHelper: WindowManagerStateHelper,
direction: Direction
): Boolean {
val ratioForScreenBottom = 0.97
val ratioForScreenBottom = 0.99
val fullView = wmHelper.getWindowRegion(componentMatcher)
require(!fullView.isEmpty) { "Target $componentMatcher view not found." }