Fix splashscreen layer identification

Bug: 271553459
Test: atest FlickerTests
Change-Id: Iadea7dcbe216af493c74fb769c460632e29d516e
This commit is contained in:
Nataniel Borges
2023-03-03 21:52:16 +00:00
parent e334986d9b
commit 8ad32a5a37

View File

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