mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Merge "Waiting for AllApps state when opening all apps with keyboard" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
c8e6763fbb
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user