summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Olivier Gaillard <gaillard@google.com> 2023-02-27 09:37:53 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-02-27 09:37:53 +0000
commitc8d683a04029e4cbd0ba678263086bdaa46895ff (patch)
tree363334e1dde8b9158b46660d16b11cfca866992d
parent268ad5716f7e0ac4a98a4420e52f47c8e2de0cba (diff)
parent4858a5167c8e211a4c80b5061918efe856a0ab6a (diff)
Merge "For ANRs, reduce EXPIRED_REPORT_TIME_MS to 10s" into udc-dev
-rw-r--r--services/core/java/com/android/server/am/AnrHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/am/AnrHelper.java b/services/core/java/com/android/server/am/AnrHelper.java
index 463a2f84aa6b..16219cd5b2ea 100644
--- a/services/core/java/com/android/server/am/AnrHelper.java
+++ b/services/core/java/com/android/server/am/AnrHelper.java
@@ -49,7 +49,7 @@ class AnrHelper {
* this time, the information might be outdated. So we only the dump the unresponsive process
* instead of including other processes to avoid making the system more busy.
*/
- private static final long EXPIRED_REPORT_TIME_MS = TimeUnit.MINUTES.toMillis(1);
+ private static final long EXPIRED_REPORT_TIME_MS = TimeUnit.SECONDS.toMillis(10);
/**
* If the last ANR occurred within this given time, consider it's anomaly.