Use gesture instead of stateManager to go to AllApps
* Hypothesis for why ALL_APPS isn't showing is that directly navigating to it via state manager might have some more hiccups (historically it has), so we do it now via swiping up on workspace Bug: 288152874 Flag: None Test: Passes locally Change-Id: I8ada7d3bde88fa54c9aab84012a9b0e3e045069e
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user