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

Commit 6b06705b authored by Mateusz Cicheński's avatar Mateusz Cicheński Committed by Android (Google) Code Review
Browse files

Merge "Fix the assertion to match by package" into main

parents bcb712f1 0d3970a4
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -101,7 +101,8 @@ abstract class AppsEnterPipTransition(flicker: LegacyFlickerTest) : EnterPipTran
    override fun pipLayerReduces() {
    override fun pipLayerReduces() {
        flicker.assertLayers {
        flicker.assertLayers {
            val pipLayerList =
            val pipLayerList =
                this.layers { standardAppHelper.layerMatchesAnyOf(it) && it.isVisible }
                this.layers { standardAppHelper.packageNameMatcher.layerMatchesAnyOf(it)
                        && it.isVisible }
            pipLayerList.zipWithNext { previous, current ->
            pipLayerList.zipWithNext { previous, current ->
                current.visibleRegion.notBiggerThan(previous.visibleRegion.region)
                current.visibleRegion.notBiggerThan(previous.visibleRegion.region)
            }
            }