Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0d0afc5 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Use correct timestamp for RegionSubject

Test: N/A

Bug: 293096776
Change-Id: Id37b4be4eb012ab4369d973008dc237620a4cd35
parent a737b741
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)