diff options
| -rw-r--r-- | libs/WindowManager/Shell/tests/e2e/desktopmode/flicker-service/src/com/android/wm/shell/flicker/DesktopModeFlickerScenarios.kt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libs/WindowManager/Shell/tests/e2e/desktopmode/flicker-service/src/com/android/wm/shell/flicker/DesktopModeFlickerScenarios.kt b/libs/WindowManager/Shell/tests/e2e/desktopmode/flicker-service/src/com/android/wm/shell/flicker/DesktopModeFlickerScenarios.kt index 880e02140db1..f920ccd4e819 100644 --- a/libs/WindowManager/Shell/tests/e2e/desktopmode/flicker-service/src/com/android/wm/shell/flicker/DesktopModeFlickerScenarios.kt +++ b/libs/WindowManager/Shell/tests/e2e/desktopmode/flicker-service/src/com/android/wm/shell/flicker/DesktopModeFlickerScenarios.kt @@ -16,6 +16,8 @@ package com.android.wm.shell.flicker +import android.tools.PlatformConsts.DESKTOP_MODE_MINIMUM_WINDOW_HEIGHT +import android.tools.PlatformConsts.DESKTOP_MODE_MINIMUM_WINDOW_WIDTH import android.tools.flicker.AssertionInvocationGroup import android.tools.flicker.assertors.assertions.AppLayerIncreasesInSize import android.tools.flicker.assertors.assertions.AppLayerIsInvisibleAtEnd @@ -181,7 +183,13 @@ class DesktopModeFlickerScenarios { .build(), assertions = AssertionTemplates.DESKTOP_MODE_APP_VISIBILITY_ASSERTIONS + - listOf(AppWindowHasSizeOfAtLeast(DESKTOP_MODE_APP, 770, 700)) + listOf( + AppWindowHasSizeOfAtLeast( + DESKTOP_MODE_APP, + DESKTOP_MODE_MINIMUM_WINDOW_WIDTH, + DESKTOP_MODE_MINIMUM_WINDOW_HEIGHT + ) + ) .associateBy({ it }, { AssertionInvocationGroup.BLOCKING }), ) |