am aec92e2e: Merge "Disable zen log printouts by default" into lmp-sprout-dev
* commit 'aec92e2eca4b4197ac45dcde265e2797c7ea9133': Disable zen log printouts by default
This commit is contained in:
@@ -34,6 +34,7 @@ import java.util.Date;
|
|||||||
|
|
||||||
public class ZenLog {
|
public class ZenLog {
|
||||||
private static final String TAG = "ZenLog";
|
private static final String TAG = "ZenLog";
|
||||||
|
private static final boolean DEBUG = Build.IS_DEBUGGABLE;
|
||||||
|
|
||||||
private static final int SIZE = Build.IS_DEBUGGABLE ? 100 : 20;
|
private static final int SIZE = Build.IS_DEBUGGABLE ? 100 : 20;
|
||||||
|
|
||||||
@@ -166,7 +167,7 @@ public class ZenLog {
|
|||||||
sSize++;
|
sSize++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Slog.d(TAG, typeToString(type) + ": " + msg);
|
if (DEBUG) Slog.d(TAG, typeToString(type) + ": " + msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void dump(PrintWriter pw, String prefix) {
|
public static void dump(PrintWriter pw, String prefix) {
|
||||||
|
|||||||
Reference in New Issue
Block a user