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

Commit 0d3970a4 authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

Fix the assertion to match by package

Change-Id: Ib1ad2d5bd9a5390756c98f4ce45daaf59c165add
Test: atest WMShellFlickerPipApps
Bug: 319471015
Flag: none
parent 07b38fe4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -101,7 +101,8 @@ abstract class AppsEnterPipTransition(flicker: LegacyFlickerTest) : EnterPipTran
    override fun pipLayerReduces() {
        flicker.assertLayers {
            val pipLayerList =
                this.layers { standardAppHelper.layerMatchesAnyOf(it) && it.isVisible }
                this.layers { standardAppHelper.packageNameMatcher.layerMatchesAnyOf(it)
                        && it.isVisible }
            pipLayerList.zipWithNext { previous, current ->
                current.visibleRegion.notBiggerThan(previous.visibleRegion.region)
            }