Skip to content
Snippets Groups Projects
Commit a9730092 authored by Mateusz Cicheński's avatar Mateusz Cicheński Committed by Android (Google) Code Review
Browse files

Merge "Remove the cast and use the override then()" into main

parents aa656266 645ca825
No related branches found
No related tags found
No related merge requests found
......@@ -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
)
}
......
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