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

Commit 0eef0351 authored by Nataniel Borges's avatar Nataniel Borges Committed by Android (Google) Code Review
Browse files

Merge "Disable tapl rotation checks in e2e tests" into main

parents f4fe424c 89482eed
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ abstract class DesktopModeBaseTest(flicker: FlickerTest) : BaseBenchmarkTest(fli
            DesktopState.fromContext(instrumentation.context)
                .isDesktopModeSupportedOnDisplay(DEFAULT_DISPLAY)
        )
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(flicker.scenario.startRotation.value)
        ChangeDisplayOrientationRule.setRotation(flicker.scenario.startRotation)
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ open class StartAppMediaProjection {

    @Before
    fun setup() {
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(initialRotation.value)
        testApp.launchViaIntent(wmHelper)
+1 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ open class StartAppMediaProjectionFromSplitScreen {
    fun setup() {
        RemoveAllTasksButHomeRule.removeAllTasksButHome()

        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(initialRotation.value)
        SplitScreenUtils.enterSplit(wmHelper, tapl, device, simpleApp, testApp, initialRotation)
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ open class StartAppMediaProjectionInSplitScreen {
    @Before
    fun setup() {
        RemoveAllTasksButHomeRule.removeAllTasksButHome()
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(initialRotation.value)
        SplitScreenUtils.enterSplit(wmHelper, tapl, device, targetApp, testApp, initialRotation)
+1 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ open class StartAppMediaProjectionWithDisplayRotations {

    @Before
    fun setup() {
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(initialRotation.value)
        testApp.launchViaIntent(wmHelper)
Loading