diff options
| author | 2023-09-18 13:43:53 +0000 | |
|---|---|---|
| committer | 2023-09-18 13:50:38 +0000 | |
| commit | f90c7172e540263c43b50829a24168371fb07adc (patch) | |
| tree | 63434240e39915685d88747271addef955b7e80b | |
| parent | 2ca486fe6b7782c78596ff27aed962c55be3fcab (diff) | |
Set rotation after app launch
Bug: 300065415
Test: atest FlickerServiceTests:com.android.server.wm.flicker.service.quickswitch.flicker.QuickSwitchBetweenTwoAppsForwardGesturalNavLandscape#quickSwitchBetweenTwoAppsForward
Change-Id: I881c4016ac7318348ba8072f18d8b9ed6889ca7b
| -rw-r--r-- | tests/FlickerTests/src/com/android/server/wm/flicker/service/quickswitch/scenarios/QuickSwitchBetweenTwoAppsForward.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/service/quickswitch/scenarios/QuickSwitchBetweenTwoAppsForward.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/service/quickswitch/scenarios/QuickSwitchBetweenTwoAppsForward.kt index 4941eea12129..3cae1c43285b 100644 --- a/tests/FlickerTests/src/com/android/server/wm/flicker/service/quickswitch/scenarios/QuickSwitchBetweenTwoAppsForward.kt +++ b/tests/FlickerTests/src/com/android/server/wm/flicker/service/quickswitch/scenarios/QuickSwitchBetweenTwoAppsForward.kt @@ -30,6 +30,7 @@ import org.junit.Before import org.junit.Ignore import org.junit.Rule import org.junit.Test +import android.tools.device.flicker.rules.ChangeDisplayOrientationRule @Ignore("Base Test Class") abstract class QuickSwitchBetweenTwoAppsForward(val rotation: Rotation = Rotation.ROTATION_0) { @@ -46,7 +47,9 @@ abstract class QuickSwitchBetweenTwoAppsForward(val rotation: Rotation = Rotatio tapl.setExpectedRotation(rotation.value) testApp1.launchViaIntent(wmHelper) + ChangeDisplayOrientationRule.setRotation(rotation) testApp2.launchViaIntent(wmHelper) + ChangeDisplayOrientationRule.setRotation(rotation) tapl.launchedAppState.quickSwitchToPreviousApp() wmHelper .StateSyncBuilder() |