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

Commit 3a13366e authored by vadimt's avatar vadimt
Browse files

Restoring 10-sec wait for model initialization

Will see if ag/9573576 fixed long model loading

Bug: 136278866
Bug: 142514365
Change-Id: If0dc61faff00683cf3248c127a64ff5b065f9ae4
parent 8625d0d8
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)) {