From 729c41e8f9de0c60edc3a4ba203943c6abeacb7e Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Thu, 30 May 2019 09:47:10 -0700 Subject: Remove STOPSHIP (disable debug flag) in WatchDog.java Change-Id: If0abe91ce324ed0d972c742e9ba9711e228ace46 Fix: 113252928 Test: build, manual inspection. --- services/core/java/com/android/server/Watchdog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/core/java/com/android/server/Watchdog.java b/services/core/java/com/android/server/Watchdog.java index e097d85293ab..4e416a27c8ea 100644 --- a/services/core/java/com/android/server/Watchdog.java +++ b/services/core/java/com/android/server/Watchdog.java @@ -63,7 +63,7 @@ public class Watchdog extends Thread { static final String TAG = "Watchdog"; /** Debug flag. */ - public static final boolean DEBUG = true; // STOPSHIP disable it (b/113252928) + public static final boolean DEBUG = false; // Set this to true to use debug default values. static final boolean DB = false; @@ -570,7 +570,7 @@ public class Watchdog extends Thread { continue; } else if (waitState == WAITED_HALF) { if (!waitedHalf) { - if (DEBUG) Slog.d(TAG, "WAITED_HALF"); + Slog.i(TAG, "WAITED_HALF"); // We've waited half the deadlock-detection interval. Pull a stack // trace and wait another half. ArrayList pids = new ArrayList(); -- cgit v1.2.3-59-g8ed1b