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

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

Merge "Waiting for Fallback Overview to stop after pressing Home" into main

parents 9c0f738c d757e0c9
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -218,10 +218,17 @@ public class FallbackRecentsTest {
    }

    private BaseOverview pressHomeAndGoToOverview() {
        mDevice.pressHome();
        pressHomeAndWaitForOverviewClose();
        return mLauncher.getLaunchedAppState().switchToOverview();
    }

    private void pressHomeAndWaitForOverviewClose() {
        mDevice.pressHome();
        Wait.atMost("Recents activity didn't stop",
                () -> getFromRecents(recents -> !recents.isStarted()),
                DEFAULT_UI_TIMEOUT, mLauncher);
    }

    // b/143488140
    //@NavigationModeSwitch
    @Test