diff options
| author | 2023-09-18 16:07:18 +0000 | |
|---|---|---|
| committer | 2023-09-18 16:07:18 +0000 | |
| commit | e126d5e2f9d1dba15708cbbb440ac951bdca25d3 (patch) | |
| tree | 17075f4133d8eeb12e3fa83510a567b5e1239de5 | |
| parent | 1560fc087fefa28e00f14684ced47a7ed3680e9d (diff) | |
| parent | f90c7172e540263c43b50829a24168371fb07adc (diff) | |
Merge "Set rotation after app launch" into main
| -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() |