summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-07-06 17:03:08 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-07-06 17:03:08 +0000
commitc8d001912a0d37fcea4146c3333ea48b0a0f0b6f (patch)
treede9be95ae4e74f55974a7775414804ebb31aa681
parent839c296197a28377c026ae8fdd282ca02a85c2e6 (diff)
parent33dba2dfaae43c1669d0b7070f4a888313c9ef37 (diff)
Merge "WifiDiagnostics: Reduce timeout for logcat collection" into rvc-dev
-rw-r--r--service/java/com/android/server/wifi/WifiDiagnostics.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/java/com/android/server/wifi/WifiDiagnostics.java b/service/java/com/android/server/wifi/WifiDiagnostics.java
index db9b075a4..6fc75c6ea 100644
--- a/service/java/com/android/server/wifi/WifiDiagnostics.java
+++ b/service/java/com/android/server/wifi/WifiDiagnostics.java
@@ -110,10 +110,10 @@ class WifiDiagnostics extends BaseWifiDiagnostics {
public static final long MIN_DUMP_TIME_WINDOW_MILLIS = 10 * 60 * 1000; // 10 mins
// Timeout for logcat process termination
- private static final long LOGCAT_PROC_TIMEOUT_MILLIS = 500;
+ private static final long LOGCAT_PROC_TIMEOUT_MILLIS = 50;
// Timeout for logcat read from input/error stream each.
@VisibleForTesting
- public static final long LOGCAT_READ_TIMEOUT_MILLIS = 500;
+ public static final long LOGCAT_READ_TIMEOUT_MILLIS = 50;
private long mLastBugReportTime;