Fix split screen tests
You can't go to overview when you are in overview Fixes: 293212785 Test: atest WMShellFlickerTestsSplitScreenEnter WMShellFlickerTestsSplitScreenOther Change-Id: I5799de2b649564437438be276eaea90fd7490cb2
This commit is contained in:
@@ -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