summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/FlickerTests/src/com/android/server/wm/flicker/CommonAssertions.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/CommonAssertions.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/CommonAssertions.kt
index 4d36111cb124..abd8758383fa 100644
--- a/tests/FlickerTests/src/com/android/server/wm/flicker/CommonAssertions.kt
+++ b/tests/FlickerTests/src/com/android/server/wm/flicker/CommonAssertions.kt
@@ -282,7 +282,7 @@ fun LegacyFlickerTest.snapshotStartingWindowLayerCoversExactlyOnApp(
snapshotLayers
.mapNotNull { snapshotLayer -> snapshotLayer.layer.visibleRegion }
.toTypedArray()
- val snapshotRegion = RegionSubject(visibleAreas, timestamp)
+ val snapshotRegion = RegionSubject(visibleAreas, it.timestamp)
// Verify the size of snapshotRegion covers appVisibleRegion exactly in animation.
if (snapshotRegion.region.isNotEmpty) {
val appVisibleRegion = it.visibleRegion(component)