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

Commit 47866471 authored by Nataniel Borges's avatar Nataniel Borges Committed by Android (Google) Code Review
Browse files

Merge "Fix split screen tests" into main

parents 98f5eb49 a4d7f0d5
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -33,8 +33,9 @@ abstract class SplitScreenBase(flicker: LegacyFlickerTest) : BaseBenchmarkTest(f
            tapl.setEnableRotation(true)
            setRotation(flicker.scenario.startRotation)
            tapl.setExpectedRotation(flicker.scenario.startRotation.value)
            if (tapl.workspace.switchToOverview().hasTasks()) {
                tapl.workspace.switchToOverview().dismissAllTasks()
            val overview = tapl.workspace.switchToOverview()
            if (overview.hasTasks()) {
                overview.dismissAllTasks()
            }
        }
    }