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,
direction: Direction
): Boolean {
val ratioForScreenBottom = 0.97
val ratioForScreenBottom = 0.99
val fullView = wmHelper.getWindowRegion(component)
require(!fullView.isEmpty) { "Target $component view not found." }