Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment