Merge "Raise native-crash socket timeout" into nyc-dev
am: aa1b2e2
* commit 'aa1b2e2d4e47ae186df31ffe10f1ed05b951b753':
Raise native-crash socket timeout
Change-Id: Ie048bfcf8a0843375517f413093a604053bd255e
This commit is contained in:
@@ -49,8 +49,8 @@ final class NativeCrashListener extends Thread {
|
|||||||
static final String DEBUGGERD_SOCKET_PATH = "/data/system/ndebugsocket";
|
static final String DEBUGGERD_SOCKET_PATH = "/data/system/ndebugsocket";
|
||||||
|
|
||||||
// Use a short timeout on socket operations and abandon the connection
|
// Use a short timeout on socket operations and abandon the connection
|
||||||
// on hard errors
|
// on hard errors, just in case debuggerd goes out to lunch.
|
||||||
static final long SOCKET_TIMEOUT_MILLIS = 2000; // 2 seconds
|
static final long SOCKET_TIMEOUT_MILLIS = 10000; // 10 seconds
|
||||||
|
|
||||||
final ActivityManagerService mAm;
|
final ActivityManagerService mAm;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user