Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/NotificationInterruptLogger.kt +10 −5 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.systemui.statusbar.notification.interruption import android.util.Log import com.android.systemui.log.dagger.NotificationInterruptLog import com.android.systemui.plugins.log.LogBuffer import com.android.systemui.plugins.log.LogLevel.DEBUG Loading @@ -23,6 +25,7 @@ import com.android.systemui.plugins.log.LogLevel.INFO import com.android.systemui.plugins.log.LogLevel.WARNING import com.android.systemui.statusbar.notification.collection.NotificationEntry import com.android.systemui.statusbar.notification.logKey import com.android.systemui.util.Compile import javax.inject.Inject class NotificationInterruptLogger @Inject constructor( Loading @@ -44,12 +47,14 @@ class NotificationInterruptLogger @Inject constructor( } fun logNoBubbleNotAllowed(entry: NotificationEntry) { if (Compile.IS_DEBUG && Log.isLoggable(TAG, Log.DEBUG)) { buffer.log(TAG, DEBUG, { str1 = entry.logKey }, { "No bubble up: not allowed to bubble: $str1" }) } } fun logNoBubbleNoMetadata(entry: NotificationEntry) { buffer.log(TAG, DEBUG, { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/NotificationInterruptLogger.kt +10 −5 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.systemui.statusbar.notification.interruption import android.util.Log import com.android.systemui.log.dagger.NotificationInterruptLog import com.android.systemui.plugins.log.LogBuffer import com.android.systemui.plugins.log.LogLevel.DEBUG Loading @@ -23,6 +25,7 @@ import com.android.systemui.plugins.log.LogLevel.INFO import com.android.systemui.plugins.log.LogLevel.WARNING import com.android.systemui.statusbar.notification.collection.NotificationEntry import com.android.systemui.statusbar.notification.logKey import com.android.systemui.util.Compile import javax.inject.Inject class NotificationInterruptLogger @Inject constructor( Loading @@ -44,12 +47,14 @@ class NotificationInterruptLogger @Inject constructor( } fun logNoBubbleNotAllowed(entry: NotificationEntry) { if (Compile.IS_DEBUG && Log.isLoggable(TAG, Log.DEBUG)) { buffer.log(TAG, DEBUG, { str1 = entry.logKey }, { "No bubble up: not allowed to bubble: $str1" }) } } fun logNoBubbleNoMetadata(entry: NotificationEntry) { buffer.log(TAG, DEBUG, { Loading