Loading tests/FlickerTests/src/com/android/server/wm/flicker/launch/OpenAppColdFromIcon.kt +8 −4 Original line number Diff line number Diff line Loading @@ -62,19 +62,23 @@ class OpenAppColdFromIcon( get() = { super.transition(this) setup { if (testSpec.isTablet) { tapl.setExpectedRotation(testSpec.startRotation) } else { tapl.setExpectedRotation(Surface.ROTATION_0) } RemoveAllTasksButHomeRule.removeAllTasksButHome() this.setRotation(testSpec.startRotation) } teardown { testApp.exit(wmHelper) } transitions { tapl.goHome() .switchToAllApps() .getAppIcon(testApp.launcherName) .launch(testApp.`package`) } teardown { testApp.exit(wmHelper) } } /** {@inheritDoc} */ Loading Loading
tests/FlickerTests/src/com/android/server/wm/flicker/launch/OpenAppColdFromIcon.kt +8 −4 Original line number Diff line number Diff line Loading @@ -62,19 +62,23 @@ class OpenAppColdFromIcon( get() = { super.transition(this) setup { if (testSpec.isTablet) { tapl.setExpectedRotation(testSpec.startRotation) } else { tapl.setExpectedRotation(Surface.ROTATION_0) } RemoveAllTasksButHomeRule.removeAllTasksButHome() this.setRotation(testSpec.startRotation) } teardown { testApp.exit(wmHelper) } transitions { tapl.goHome() .switchToAllApps() .getAppIcon(testApp.launcherName) .launch(testApp.`package`) } teardown { testApp.exit(wmHelper) } } /** {@inheritDoc} */ Loading