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

Commit 3b78d081 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Restoring 10-sec wait for model initialization" into ub-launcher3-master

parents d78d80be 3a13366e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -497,9 +497,7 @@ public final class LauncherInstrumentation {
    }

    public void waitForLauncherInitialized() {
        // b/136278866
        final int attempts = android.os.Build.MODEL.contains("Cuttlefish") ? 600 : 100;
        for (int i = 0; i < attempts; ++i) {
        for (int i = 0; i < 100; ++i) {
            if (getTestInfo(
                    TestProtocol.REQUEST_IS_LAUNCHER_INITIALIZED).
                    getBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD)) {