diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-07-06 17:15:56 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-07-06 17:15:56 +0000 |
commit | 0ae5f356f1d4ede86e59221dcaedd2a71ed4c862 (patch) | |
tree | afea6e013bd2a21b700f83fb170fb471bed4b1bb | |
parent | 65292b86be45ea1812514535e8c0348ce9513aac (diff) | |
parent | c8d001912a0d37fcea4146c3333ea48b0a0f0b6f (diff) |
Merge "WifiDiagnostics: Reduce timeout for logcat collection" into rvc-dev am: c8d001912a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/12048624
Change-Id: Icfdf05b876f08eb425ea9ec2747aeec6d082a122
-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; |