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

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

Remove the cast and use the override then()

Change-Id: I137961a97c68f628fcc8b945f45665ce81e0e9b2
Test: atest AutoEnterPipFromSplitScreenOnGoToHomeTest
Bug: 301107915
parent 99c86797
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ class AutoEnterPipFromSplitScreenOnGoToHomeTest(flicker: LegacyFlickerTest) :
            if (flicker.scenario.isLandscapeOrSeascapeAtStart) {
                flicker.assertWmVisibleRegion(pipApp) {
                    // first check against landscape bounds then against portrait bounds
                    (coversAtMost(displayBounds).then() as RegionTraceSubject).coversAtMost(
                    coversAtMost(displayBounds).then().coversAtMost(
                        portraitDisplayBounds
                    )
                }