Re-enable testOverviewForTablet for persistent taskbar.
Will enable for transient taskbar separately.
Bug: 281812199
Test: verified passes locally
Change-Id: I25ddc8bd80b8e06e983d0add0d1b354083d1870a
diff --git a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java
index c39d095..77c76d9 100644
--- a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java
+++ b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java
@@ -17,6 +17,7 @@
package com.android.quickstep;
import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
+import static com.android.quickstep.TaskbarModeSwitchRule.Mode.PERSISTENT;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -44,6 +45,7 @@
import com.android.launcher3.util.Wait;
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch;
+import com.android.quickstep.TaskbarModeSwitchRule.TaskbarModeSwitch;
import com.android.quickstep.views.RecentsView;
import org.junit.After;
@@ -359,9 +361,9 @@
waitForState("Launcher internal state didn't switch to Home", () -> LauncherState.NORMAL);
}
- @Ignore
@Test
@PortraitLandscape
+ @TaskbarModeSwitch(mode = PERSISTENT)
public void testOverviewForTablet() throws Exception {
assumeTrue(mLauncher.isTablet());