Merge "Use gesture instead of stateManager to go to AllApps" into udc-qpr-dev

This commit is contained in:
Vinit Nayak
2023-07-19 20:57:10 +00:00
committed by Android (Google) Code Review
@@ -85,7 +85,7 @@ public class WorkProfileTest extends AbstractLauncherUiTest {
waitForStateTransitionToEnd("Launcher internal state didn't switch to Normal",
() -> NORMAL);
waitForResumed("Launcher internal state is still Background");
executeOnLauncher(launcher -> launcher.getStateManager().goToState(ALL_APPS));
mLauncher.getWorkspace().switchToAllApps();
waitForStateTransitionToEnd("Launcher internal state didn't switch to All Apps",
() -> ALL_APPS);
}