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

Commit c71db987 authored by vadimt's avatar vadimt
Browse files

Increasing nav mode settlement timeout as an attempt to workaround nav

mode mismatch bug.

Bug: 148422894
Change-Id: I1295c1415a308ec461d302c9973309f4de77f984
parent 70607cfe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -197,7 +197,8 @@ public class NavigationModeSwitchRule implements TestRule {

        Wait.atMost(() -> "Switching nav mode: "
                        + launcher.getNavigationModeMismatchError(),
                () -> launcher.getNavigationModeMismatchError() == null, WAIT_TIME_MS, launcher);
                () -> launcher.getNavigationModeMismatchError() == null,
                60000 /* b/148422894 */, launcher);

        return true;
    }
+2 −2
Original line number Diff line number Diff line
@@ -490,8 +490,8 @@ public final class LauncherInstrumentation {
        assertEquals("Unexpected display rotation",
                mExpectedRotation, mDevice.getDisplayRotation());

        // b/149024111
        for (int i = 0; i != 100; ++i) {
        // b/148422894
        for (int i = 0; i != 600; ++i) {
            if (getNavigationModeMismatchError() == null) break;
            sleep(100);
        }