diff options
| author | 2024-01-31 11:24:38 +0000 | |
|---|---|---|
| committer | 2024-01-31 11:25:00 +0000 | |
| commit | 71c1ac32aed6c4b5a2a92ed54e977bfc690c31d0 (patch) | |
| tree | 85635294ba25278e7987c658fefa1e5e1ef73b54 | |
| parent | ab3903daaa8d1a272f466f7f326fd7eb511aeee3 (diff) | |
Enlarge ZYGOTE_CONNECT_TIMEOUT_MS.
When there is no boot image, Zygote needs to generate an in-memory boot
image. This can take a long time on low-end devices.
Bug: 322934806
Change-Id: I41048de7f3585a4c9e2175a103d47671ffa049bc
Test: Presubmit
| -rw-r--r-- | core/java/android/os/ZygoteProcess.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/os/ZygoteProcess.java b/core/java/android/os/ZygoteProcess.java index 3cb5c60259eb..c0539d6845a1 100644 --- a/core/java/android/os/ZygoteProcess.java +++ b/core/java/android/os/ZygoteProcess.java @@ -71,7 +71,7 @@ import java.util.UUID; */ public class ZygoteProcess { - private static final int ZYGOTE_CONNECT_TIMEOUT_MS = 20000; + private static final int ZYGOTE_CONNECT_TIMEOUT_MS = 60000; /** * Use a relatively short delay, because for app zygote, this is in the critical path of |