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

Commit 245ee00d authored by Shai Barack's avatar Shai Barack Committed by Android (Google) Code Review
Browse files

Merge "Revert "Sleep in ZygoteProcess.start() if ablation study enabled"" into main

parents cf3395b3 961ade61
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -360,17 +360,6 @@ public class ZygoteProcess {
                                                  boolean bindMountAppStorageDirs,
                                                  boolean bindOverrideSysprops,
                                                  @Nullable String[] zygoteArgs) {
        if (Flags.zygoteAppLaunchLatencyAblation()) {
            final long sleepUntilMs = System.currentTimeMillis() + 5;
            long nextSleepMs = 5;
            while (nextSleepMs > 0) {
                try {
                    Thread.sleep(nextSleepMs);
                } catch (InterruptedException ignored) {}
                nextSleepMs = sleepUntilMs - System.currentTimeMillis();
            }
        }

        // TODO (chriswailes): Is there a better place to check this value?
        if (fetchUsapPoolEnabledPropWithMinInterval()) {
            informZygotesOfUsapPoolStatus();