diff options
author | Roshan Pius <rpius@google.com> | 2020-06-30 11:58:07 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2020-06-30 11:59:08 -0700 |
commit | 33dba2dfaae43c1669d0b7070f4a888313c9ef37 (patch) | |
tree | 2c9f44c067305a25f1a083966dd236f6d450d9ea | |
parent | db04b29f0f6a96b19850fc17e23818855f800d61 (diff) |
WifiDiagnostics: Reduce timeout for logcat collection
Bug: 160135978
Test: verified logcat collection of wifi connection failure.
Change-Id: Idb423caf63262e5dc8b5b7e4387617e81dcfe596
-rw-r--r-- | service/java/com/android/server/wifi/WifiDiagnostics.java | 4 |
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; |