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:
@@ -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." }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user