From dd0b469a7681bd06f410c912bb04aeef71911650 Mon Sep 17 00:00:00 2001 From: vadimt Date: Fri, 18 Sep 2020 14:31:25 -0700 Subject: [PATCH] Experiment with closing all apps before overview actions test Bug: 165029151 Change-Id: I1090b963ac1a12c96968014c69b8b26e1768be85 --- .../tests/src/com/android/quickstep/TaplTestsQuickstep.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java index ecd4e2bd67..c5863c143c 100644 --- a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +++ b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java @@ -201,6 +201,12 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @PortraitLandscape public void testOverviewActions() throws Exception { if (mLauncher.getNavigationModel() != NavigationModel.TWO_BUTTON) { + // Experimenting for b/165029151: + final Overview overview = mLauncher.pressHome().switchToOverview(); + if (overview.hasTasks()) overview.dismissAllTasks(); + mLauncher.pressHome(); + // + startTestAppsWithCheck(); OverviewActions actionsView = mLauncher.pressHome().switchToOverview().getOverviewActions();