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

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

Add logs to debug flakiness of the test

Bug: 270677470
Test: n/a, adding logs to debug raven specific flakiness in the lab

Change-Id: I5a12a08d7b804e04144f6473f8e3348ea9e9d339
parent 62adc5ad
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()