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

Commit 4bc691b9 authored by vadimt's avatar vadimt
Browse files

Removing workarounds for a fixed bug

Bug: 148422894
Change-Id: Ic6faa173ac5f28c8656daf68ac8304563264afdd
parent fa933761
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ public class NavigationModeSwitchRule implements TestRule {
                    SYS_UI_NAVIGATION_MODE.removeModeChangeListener(listener));

            Wait.atMost(() -> "Navigation mode didn't change to " + expectedMode,
                    () -> currentSysUiNavigationMode() == expectedMode, 60000 /* b/148422894 */,
                    () -> currentSysUiNavigationMode() == expectedMode, WAIT_TIME_MS,
                    launcher);
            // b/139137636
//            assertTrue(launcher, "Navigation mode didn't change to " + expectedMode,
@@ -202,7 +202,7 @@ public class NavigationModeSwitchRule implements TestRule {
        Wait.atMost(() -> "Switching nav mode: "
                        + launcher.getNavigationModeMismatchError(),
                () -> launcher.getNavigationModeMismatchError() == null,
                60000 /* b/148422894 */, launcher);
                WAIT_TIME_MS, launcher);
        AbstractLauncherUiTest.checkDetectedLeaks(launcher);
        return true;
    }
+0 −6
Original line number Diff line number Diff line
@@ -87,12 +87,6 @@ class FailureInvestigator {
            return 145935261;
        }

        if (matches("java\\.lang\\.AssertionError\\: http\\:\\/\\/go\\/tapl \\: want to get "
                + "workspace object; Presence of recents button doesn't match the interaction "
                + "mode, mode\\=ZERO_BUTTON, hasRecents\\=true", exception)) {
            return 148422894;
        }

        final String logSinceBoot;
        try {
            final String systemBootTime =
+1 −7
Original line number Diff line number Diff line
@@ -548,13 +548,7 @@ public final class LauncherInstrumentation {
        assertEquals("Unexpected display rotation",
                mExpectedRotation, mDevice.getDisplayRotation());

        // b/148422894
        String error = null;
        for (int i = 0; i != 600; ++i) {
            error = getNavigationModeMismatchError();
            if (error == null) break;
            sleep(100);
        }
        final String error = getNavigationModeMismatchError();
        assertTrue(error, error == null);

        log("verifyContainerType: " + containerType);