summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2013-09-14 20:10:24 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-14 20:10:25 +0000
commit88597f4409fd1e1c7c4eff7735728dc7129d62cb (patch)
tree3558a6f24aa7b986c953ef622d5676e4a7aa7b88
parent028eaa34abb68b9cadf76d5284c874efb3073363 (diff)
parent2037ac66014704d742b0bff162c960cd1c9049eb (diff)
Merge "Turning up logging for userdebug devices." into klp-dev
-rw-r--r--InCallUI/src/com/android/incallui/Log.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/Log.java b/InCallUI/src/com/android/incallui/Log.java
index c859e5c6a..35cb37024 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);
public static final String TAG_DELIMETER = " - ";