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

Commit 65b735be authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "Waiting for Normal state when closing Overview by touching outside of first task" into main

parents 04947de3 62cc718b
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -173,9 +173,12 @@ public class BaseOverview extends LauncherInstrumentation.VisibleContainer {

            OverviewTask currentTask = flingToFirstTask();

            mLauncher.touchOutsideContainer(currentTask.getUiObject(),
            mLauncher.runToState(
                    () -> mLauncher.touchOutsideContainer(currentTask.getUiObject(),
                            /* tapRight= */ true,
                    /* halfwayToEdge= */ false);
                            /* halfwayToEdge= */ false),
                    NORMAL_STATE_ORDINAL,
                    "touching outside of first task");

            return new Workspace(mLauncher);
        }