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

Commit ac69fa70 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Ensure rotation is correct in during QuickSwitchBetweenTwoAppsBackGesturalNavLandscape

Bug: 301578845

Test: com.android.server.wm.flicker.service.quickswitch.flicker.QuickSwitchBetweenTwoAppsBackGesturalNavLandscape
Change-Id: Ie29aa5ff133a6451b5fffd09b430f4df32604452
parent 564ea419
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.server.wm.flicker.service.quickswitch.scenarios
import android.app.Instrumentation
import android.tools.common.NavBar
import android.tools.common.Rotation
import android.tools.device.flicker.rules.ChangeDisplayOrientationRule
import android.tools.device.traces.parsers.WindowManagerStateHelper
import androidx.test.platform.app.InstrumentationRegistry
import com.android.launcher3.tapl.LauncherInstrumentation
@@ -46,7 +47,9 @@ abstract class QuickSwitchBetweenTwoAppsBack(val rotation: Rotation = Rotation.R
        tapl.setExpectedRotation(rotation.value)
        tapl.setIgnoreTaskbarVisibility(true)
        testApp1.launchViaIntent(wmHelper)
        ChangeDisplayOrientationRule.setRotation(rotation)
        testApp2.launchViaIntent(wmHelper)
        ChangeDisplayOrientationRule.setRotation(rotation)
    }

    @Test