From 22155fcb7af3896a302f70495dc2c4706125ee5f Mon Sep 17 00:00:00 2001 From: Lyn Han Date: Mon, 3 Feb 2025 17:39:42 -0800 Subject: Always log dropped HUNs in debug mode Remove isLoggable requirement Change-Id: I1dca3c84d3886de91b6399866aeb9056dd30bbcc Fixes: 394180386 Test: manual Flag: com.android.systemui.notification_avalanche_throttle_hun --- .../systemui/statusbar/notification/headsup/AvalancheController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ccc2dffcfd7b..de113d365bd8 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 && Log.isLoggable(tag, Log.DEBUG) + private val debug = Compile.IS_DEBUG var baseEntryMapStr: () -> String = { "baseEntryMapStr not initialized" } var enableAtRuntime = true -- cgit v1.2.3-59-g8ed1b