Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1aad144c authored by Griff Hazen's avatar Griff Hazen
Browse files

Disable zen log printouts by default

Bug: 18056528
Change-Id: I77359476ff2f67027383fcdb91d2843d040533c7
parent 4183a2fc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import java.util.Date;

public class 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;

@@ -166,7 +167,7 @@ public class ZenLog {
                sSize++;
            }
        }
        Slog.d(TAG, typeToString(type) + ": " + msg);
        if (DEBUG) Slog.d(TAG, typeToString(type) + ": " + msg);
    }

    public static void dump(PrintWriter pw, String prefix) {