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

Commit acdab5b0 authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Disable TAPL rotation checks

The check is unstable and frequently lead to an error

```
java.lang.AssertionError: http://go/tapl test failure: Unexpected display rotation expected: 1 but was: 0;
Context: want to switch to home, performed action to switch to Home - swiping up to home, want to get workspace object; now visible state is Workspace; displayId: 0

```

Fixes: 434759129
Test: atest WMShellFlickerServicePlatinumTests
Flag: TEST_ONLY
Change-Id: Id4345d4768cc71fc9d675cf76f1b8d3e006170e7
parent f9b4eeb8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -49,6 +49,8 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {

    @Before
    fun setup() {
        // TODO: b/349075982 - Remove once launcher rotation and checks are stable.
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(rotation.value)

+2 −0
Original line number Diff line number Diff line
@@ -47,6 +47,8 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {

    @Before
    fun setup() {
        // TODO: b/349075982 - Remove once launcher rotation and checks are stable.
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(rotation.value)

+2 −0
Original line number Diff line number Diff line
@@ -47,6 +47,8 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {

    @Before
    fun setup() {
        // TODO: b/349075982 - Remove once launcher rotation and checks are stable.
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(rotation.value)

+2 −0
Original line number Diff line number Diff line
@@ -55,6 +55,8 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {
        primaryApp.launchViaIntent(wmHelper)
        ChangeDisplayOrientationRule.setRotation(rotation)

        // TODO: b/349075982 - Remove once launcher rotation and checks are stable.
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(rotation.value)

+2 −0
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {
        sendNotificationApp.postNotification(wmHelper)
        tapl.goHome()

        // TODO: b/349075982 - Remove once launcher rotation and checks are stable.
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(rotation.value)

Loading