blob: b702d06ca7cd51d059e8dc94aa4aaaec2fbd2fc5 [file] [log] [blame]
Issei Suzukia8d07312019-06-07 12:56:19 +02001/*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.systemui.bubbles;
18
19/**
20 * Common class for the various debug {@link android.util.Log} output configuration in the Bubbles
21 * package.
22 */
23public class BubbleDebugConfig {
24
25 // All output logs in the Bubbles package use the {@link #TAG_BUBBLES} string for tagging their
26 // log output. This makes it easy to identify the origin of the log message when sifting
27 // through a large amount of log output from multiple sources. However, it also makes trying
28 // to figure-out the origin of a log message while debugging the Bubbles a little painful. By
29 // setting this constant to true, log messages from the Bubbles package will be tagged with
30 // their class names instead fot the generic tag.
31 static final boolean TAG_WITH_CLASS_NAME = false;
32
33 // Default log tag for the Bubbles package.
34 static final String TAG_BUBBLES = "Bubbles";
35
36 static final boolean DEBUG_BUBBLE_CONTROLLER = false;
37 static final boolean DEBUG_BUBBLE_DATA = false;
38 static final boolean DEBUG_BUBBLE_STACK_VIEW = false;
Mark Renoufdb861c92019-07-26 13:58:17 -040039 static final boolean DEBUG_BUBBLE_EXPANDED_VIEW = false;
40
Issei Suzukia8d07312019-06-07 12:56:19 +020041}