summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lyn Han <lynhan@google.com> 2025-02-10 10:50:06 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-02-10 10:50:06 -0800
commit22d7bb5ba1798779208055fdb1c8d792dbfc67b7 (patch)
tree25f90627160897509a9116802535e7506d007394
parentc3fcccec063719c8ec8de08572adbff19d229642 (diff)
parent332344f6544a8485db97d8d7025b60b5502ac397 (diff)
Merge "Revert "Always log dropped HUNs in debug mode"" into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/AvalancheController.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/AvalancheController.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/AvalancheController.kt
index de113d365bd8..ccc2dffcfd7b 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/AvalancheController.kt
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/AvalancheController.kt
@@ -49,7 +49,7 @@ constructor(
) : Dumpable {
private val tag = "AvalancheController"
- private val debug = Compile.IS_DEBUG
+ private val debug = Compile.IS_DEBUG && Log.isLoggable(tag, Log.DEBUG)
var baseEntryMapStr: () -> String = { "baseEntryMapStr not initialized" }
var enableAtRuntime = true