Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e126d5e2 authored by Pablo Gamito's avatar Pablo Gamito Committed by Android (Google) Code Review
Browse files

Merge "Set rotation after app launch" into main

parents 1560fc08 f90c7172
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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()