From 2037ac66014704d742b0bff162c960cd1c9049eb Mon Sep 17 00:00:00 2001 From: Chiao Cheng Date: Fri, 13 Sep 2013 17:32:53 -0700 Subject: Turning up logging for userdebug devices. To help track down ANR and other phone related bugs. Change-Id: I9db61408d05a3a93caa547e691ba47be11be7e5b --- InCallUI/src/com/android/incallui/Log.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InCallUI/src/com/android/incallui/Log.java b/InCallUI/src/com/android/incallui/Log.java index 3099ea56b..3c794b3a4 100644 --- a/InCallUI/src/com/android/incallui/Log.java +++ b/InCallUI/src/com/android/incallui/Log.java @@ -24,7 +24,8 @@ public class Log { // Generic tag for all In Call logging private static final String TAG = "InCall"; - public static final boolean DEBUG = android.util.Log.isLoggable(TAG, android.util.Log.DEBUG); + public static final boolean DEBUG = android.util.Log.isLoggable(TAG, android.util.Log.DEBUG) + || (System.getProperty("ro.build.type", "").equals("userdebug")); public static final boolean VERBOSE = android.util.Log.isLoggable(TAG, android.util.Log.VERBOSE); -- cgit v1.2.3