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

Commit 83cb8256 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add logs to debug flakiness of the test" into udc-qpr-dev

parents 86e984c2 ded9258e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -386,8 +386,11 @@ open class PipAppHelper(instrumentation: Instrumentation) :
                    it.wmState.visibleWindows.firstOrNull { window ->
                        this.windowMatchesAnyOf(window)
                    }
                        ?: return@add false
                Log.d(TAG, "window " + pipAppWindow)
                if (pipAppWindow == null) return@add false
                val pipRegion = pipAppWindow.frameRegion
                Log.d(TAG, "region " + pipRegion +
                        " covers " + windowRect.coversMoreThan(pipRegion))
                return@add windowRect.coversMoreThan(pipRegion)
            }
            .waitForAndVerify()