Merge "Raise native-crash socket timeout" into nyc-dev

This commit is contained in:
Chris Tate
2016-04-22 23:31:02 +00:00
committed by Android (Google) Code Review

View File

@@ -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;