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

Commit 404fd65e authored by Christopher Tate's avatar Christopher Tate
Browse files

Raise native-crash socket timeout

Stack unwinding can sometimes legitimately take more than 2 seconds.

Bug 28210681

Change-Id: If6fb30c5111e9c85ce98d36a97faa0b5f21bc04d
parent 6a4d9a3c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -49,8 +49,8 @@ final class NativeCrashListener extends Thread {
    static final String DEBUGGERD_SOCKET_PATH = "/data/system/ndebugsocket";

    // Use a short timeout on socket operations and abandon the connection
    // on hard errors
    static final long SOCKET_TIMEOUT_MILLIS = 2000;  // 2 seconds
    // on hard errors, just in case debuggerd goes out to lunch.
    static final long SOCKET_TIMEOUT_MILLIS = 10000;  // 10 seconds

    final ActivityManagerService mAm;