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

Commit 670294e9 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Waiting Launcher to stop after swiping to unstash taskbar

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: I4087c89ca66cb125adb34cf94e340690741d6313
parent 1abb9a47
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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);