Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do not merge] update DB to "true" for watchdog debug purpose #2587

Open
wants to merge 1 commit into
base: celadon/u/mr0/master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From e99aa3e8e9fd848dc300818cca239ce0ed3770db Mon Sep 17 00:00:00 2001
From: "Zhao, Shirley" <[email protected]>
Date: Thu, 29 Aug 2024 14:47:16 +0800
Subject: [PATCH] [Do not merge] update DB to "true" for debug purpose

Signed-off-by: Zhao, Shirley <[email protected]>
---
services/core/java/com/android/server/Watchdog.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/core/java/com/android/server/Watchdog.java b/services/core/java/com/android/server/Watchdog.java
index a81bba816b4c..81b3adc80dd7 100644
--- a/services/core/java/com/android/server/Watchdog.java
+++ b/services/core/java/com/android/server/Watchdog.java
@@ -89,7 +89,7 @@ public class Watchdog implements Dumpable {
public static final boolean DEBUG = false;

// Set this to true to use debug default values.
- private static final boolean DB = false;
+ private static final boolean DB = true;

// Note 1: Do not lower this value below thirty seconds without tightening the invoke-with
// timeout in com.android.internal.os.ZygoteConnection, or wrapped applications
--
2.45.2