Merge "Fix splashscreen layer identification" into udc-dev

This commit is contained in:
Nataniel Borges
2023-03-07 20:44:46 +00:00
committed by Android (Google) Code Review

View File

@@ -93,8 +93,7 @@ class OverrideTaskTransitionTest(val flicker: FlickerTest) {
.then() .then()
// Animation starts, but the app may not be drawn yet which means the Splash // Animation starts, but the app may not be drawn yet which means the Splash
// may be visible. // may be visible.
.isInvisible(testApp, isOptional = true) .isSplashScreenVisibleFor(testApp, isOptional = true)
.isVisible(ComponentNameMatcher.SPLASH_SCREEN, isOptional = true)
.then() .then()
// App shows up with the custom animation starting at alpha=1. // App shows up with the custom animation starting at alpha=1.
.isVisible(testApp) .isVisible(testApp)