Fix test execution on hwasan builds

THe navbar becomes invisible during the rotation, and becomes visible
again once the rotation animation finishes.

This CL fixes the wm flicker tests after migrating they were migrated to
hwasan-userdebug builds.

Bug: 161858082
Test: atest FlickerTests
Change-Id: I5c7fcff58a09fda2e7f1e2c10f05b48f055c3685
This commit is contained in:
Nataniel Borges
2020-09-03 13:23:26 +02:00
parent d64cb948de
commit fd8178a134
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ class OpenAppColdTest(
noUncoveredRegions(Surface.ROTATION_0, rotation, bugId = 141361128)
navBarLayerRotatesAndScales(Surface.ROTATION_0, rotation)
statusBarLayerRotatesScales(Surface.ROTATION_0, rotation)
navBarLayerIsAlwaysVisible()
navBarLayerIsAlwaysVisible(enabled = rotation == Surface.ROTATION_0)
statusBarLayerIsAlwaysVisible(enabled = false)
wallpaperLayerBecomesInvisible()
}

View File

@@ -88,7 +88,7 @@ class OpenAppWarmTest(
noUncoveredRegions(Surface.ROTATION_0, rotation, bugId = 141361128)
navBarLayerRotatesAndScales(Surface.ROTATION_0, rotation)
statusBarLayerRotatesScales(Surface.ROTATION_0, rotation)
navBarLayerIsAlwaysVisible(bugId = 140855415)
navBarLayerIsAlwaysVisible(enabled = rotation == Surface.ROTATION_0)
statusBarLayerIsAlwaysVisible(enabled = false)
wallpaperLayerBecomesInvisible()
}