Merge "Waiting Launcher to stop after swiping to unstash taskbar" into main

This commit is contained in:
Vadim Tryshev authored and Android (Google) Code Review committed 2024-01-09 18:48:45 +00:00
commit 225bf58643
1 file changed
+5 -2
@@ -130,8 +130,11 @@ public final class LaunchedAppState extends Background {
int endX = startX;
int endY = startY - taskbarFromNavThreshold;
mLauncher.linearGesture(startX, startY, endX, endY, 10, /* slowDown= */ true,
LauncherInstrumentation.GestureScope.EXPECT_PILFER);
mLauncher.executeAndWaitForLauncherStop(
() -> mLauncher.linearGesture(startX, startY, endX, endY, 10,
/* slowDown= */ true,
LauncherInstrumentation.GestureScope.EXPECT_PILFER),
"swiping");
LauncherInstrumentation.log("swipeUpToUnstashTaskbar: sent linear swipe up gesture");
return new Taskbar(mLauncher);