diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index 7a985f4050f46..82bd123cd2fd7 100644 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -4133,7 +4133,7 @@ public class ActivityManagerService extends IActivityManager.Stub // control of all writes to the file in question. // We must complete all stack dumps within 20 seconds. - long remainingTime = 20 * 1000; + long remainingTime = 20 * 1000 * Build.HW_TIMEOUT_MULTIPLIER; // As applications are usually interested with the ANR stack traces, but we can't share with // them the stack traces other than their own stacks. So after the very first PID is