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

Commit c774dcee authored by Dmitriy Ivanov's avatar Dmitriy Ivanov
Browse files

Increase start timeout for wrapped process

 * apparently 300*1000 for valgrind is not enough
   (hammerhead aosp tot).

Change-Id: Ia3f26cb67d3aa0ebdec68f3c1a764bad5e7f4f95
parent fc1ffe89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ public final class ActivityManagerService extends ActivityManagerNative
    // before we decide it's never going to come up for real, when the process was
    // started with a wrapper for instrumentation (such as Valgrind) because it
    // could take much longer than usual.
    static final int PROC_START_TIMEOUT_WITH_WRAPPER = 300*1000;
    static final int PROC_START_TIMEOUT_WITH_WRAPPER = 1200*1000;
    // How long to wait after going idle before forcing apps to GC.
    static final int GC_TIMEOUT = 5*1000;