Merge "Increased the ratio of the bottom coordinate to the screen for doing quick switch gesture in tests." into tm-qpr-dev

This commit is contained in:
Josh Chien
2022-10-05 03:19:33 +00:00
committed by Android (Google) Code Review

View File

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