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

Commit d757e0c9 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Waiting for Fallback Overview to stop after pressing Home

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Ibbd7faad1f67e2013e3a1d4d9abcc3306729cbc0
parent 1c7bc492
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