From 46895520696dc75ceb62c8745a780d3c477e556c Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Thu, 8 Jun 2023 13:40:40 +0000 Subject: [PATCH] 2/Rename scenario class Use naming convention common in google3 Test: atest FlickerLibTest Bug: 262241371 Change-Id: I42134afe9387a7f44e382eda2fd42eb79b1ee50d --- .../server/wm/flicker/rotation/SeamlessAppRotationTest.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/SeamlessAppRotationTest.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/SeamlessAppRotationTest.kt index f654bdd48e893..469dad7611f1d 100644 --- a/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/SeamlessAppRotationTest.kt +++ b/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/SeamlessAppRotationTest.kt @@ -250,7 +250,12 @@ open class SeamlessAppRotationTest(flicker: FlickerTest) : RotationTransition(fl val nameExt = if (starveUiThread) "_BUSY_UI_THREAD" else "" val newConfig = ScenarioBuilder() - .fromScenario(originalScenario) + .forClass(originalScenario.testClass) + .withStartRotation(originalScenario.startRotation) + .withEndRotation(originalScenario.endRotation) + .withNavBarMode(originalScenario.navBarMode) + .withExtraConfigs(originalScenario.extraConfig) + .withDescriptionOverride(originalScenario.description) .withExtraConfig( ActivityOptions.SeamlessRotation.EXTRA_STARVE_UI_THREAD, starveUiThread