Fix splashscreen layer identification
Bug: 271553459 Test: atest FlickerTests Change-Id: Iadea7dcbe216af493c74fb769c460632e29d516e
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user