Merge "Fix split screen tests" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
47866471b0
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user