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

Commit bd5c4374 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Wait until PIP has the correct bounds before continuing" into udc-qpr-dev am: be10d855

parents 57e42dd3 be10d855
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -250,10 +250,13 @@ open class PipAppHelper(instrumentation: Instrumentation) :
            waitConditions = arrayOf(ConditionsFactory.hasPipWindow())
        )

        val windowRegion = wmHelper.getWindowRegion(this)

        wmHelper
            .StateSyncBuilder()
            .withWindowSurfaceAppeared(this)
            .withPipShown()
            .withSurfaceVisibleRegion(this, windowRegion)
            .waitForAndVerify()
    }