Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25c1b792 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Waiting for AllApps state when opening all apps with keyboard

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Idc17322fc8c22cd3fdcfe459e012bd04bc98b071
parent f0b1ddc0
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -121,7 +121,10 @@ public final class Workspace extends Home {
             LauncherInstrumentation.Closable c =
                     mLauncher.addContextLayer("want to open all apps search")) {
            verifyActiveContainer();
            mLauncher.getDevice().pressKeyCode(KEYCODE_META_RIGHT);
            mLauncher.runToState(
                    () -> mLauncher.getDevice().pressKeyCode(KEYCODE_META_RIGHT),
                    ALL_APPS_STATE_ORDINAL,
                    "pressing keyboard shortcut");
            try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer(
                    "pressed meta key")) {
                return new HomeAllApps(mLauncher);