Loading libs/WindowManager/Shell/tests/e2e/desktopmode/scenarios/src/com/android/wm/shell/scenarios/MinimizeWindowOnAppOpenViaIntent.kt +8 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,9 @@ package com.android.wm.shell.scenarios import android.app.Instrumentation import android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK import android.content.Intent.FLAG_ACTIVITY_NEW_TASK import android.tools.NavBar import android.tools.PlatformConsts.DEFAULT_DISPLAY import android.tools.Rotation import android.tools.device.apphelpers.BrowserAppHelper import android.tools.traces.parsers.WindowManagerStateHelper import androidx.test.platform.app.InstrumentationRegistry Loading @@ -28,13 +30,14 @@ import com.android.launcher3.tapl.LauncherInstrumentation import com.android.server.wm.flicker.helpers.DesktopModeAppHelper import com.android.server.wm.flicker.helpers.MailAppHelper import com.android.server.wm.flicker.helpers.SimpleAppHelper import com.android.window.flags.Flags import com.android.wm.shell.Utils import com.android.wm.shell.shared.desktopmode.DesktopConfig import com.android.wm.shell.shared.desktopmode.DesktopState import org.junit.After import org.junit.Assume import org.junit.Before import org.junit.Ignore import org.junit.Rule import org.junit.Test /** Loading @@ -59,6 +62,10 @@ abstract class MinimizeWindowOnAppOpenViaIntent : TestScenarioBase() { private val maxNum = desktopConfig.maxTaskLimit @Rule @JvmField val testSetupRule = Utils.testSetupRule(NavBar.MODE_GESTURAL, Rotation.ROTATION_0) @Before fun setup() { Assume.assumeTrue( Loading Loading
libs/WindowManager/Shell/tests/e2e/desktopmode/scenarios/src/com/android/wm/shell/scenarios/MinimizeWindowOnAppOpenViaIntent.kt +8 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,9 @@ package com.android.wm.shell.scenarios import android.app.Instrumentation import android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK import android.content.Intent.FLAG_ACTIVITY_NEW_TASK import android.tools.NavBar import android.tools.PlatformConsts.DEFAULT_DISPLAY import android.tools.Rotation import android.tools.device.apphelpers.BrowserAppHelper import android.tools.traces.parsers.WindowManagerStateHelper import androidx.test.platform.app.InstrumentationRegistry Loading @@ -28,13 +30,14 @@ import com.android.launcher3.tapl.LauncherInstrumentation import com.android.server.wm.flicker.helpers.DesktopModeAppHelper import com.android.server.wm.flicker.helpers.MailAppHelper import com.android.server.wm.flicker.helpers.SimpleAppHelper import com.android.window.flags.Flags import com.android.wm.shell.Utils import com.android.wm.shell.shared.desktopmode.DesktopConfig import com.android.wm.shell.shared.desktopmode.DesktopState import org.junit.After import org.junit.Assume import org.junit.Before import org.junit.Ignore import org.junit.Rule import org.junit.Test /** Loading @@ -59,6 +62,10 @@ abstract class MinimizeWindowOnAppOpenViaIntent : TestScenarioBase() { private val maxNum = desktopConfig.maxTaskLimit @Rule @JvmField val testSetupRule = Utils.testSetupRule(NavBar.MODE_GESTURAL, Rotation.ROTATION_0) @Before fun setup() { Assume.assumeTrue( Loading