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

Commit dede136a authored by Julia Tuttle's avatar Julia Tuttle Committed by Android (Google) Code Review
Browse files

Merge "Clarify a couple messages in NotifInterruptLog" into main

parents 79067094 b193595a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -239,11 +239,11 @@ class NotificationInterruptLogger @Inject constructor(
        })
    }

    fun logNoPulsingNotificationHidden(entry: NotificationEntry) {
    fun logNoPulsingNotificationHiddenOverride(entry: NotificationEntry) {
        buffer.log(TAG, DEBUG, {
            str1 = entry.logKey
        }, {
            "No pulsing: notification hidden on lock screen: $str1"
            "No pulsing: notification hidden on lock screen by override: $str1"
        })
    }

@@ -290,11 +290,11 @@ class NotificationInterruptLogger @Inject constructor(
        })
    }

    fun keyguardHideNotification(entry: NotificationEntry) {
    fun logNoAlertingNotificationHidden(entry: NotificationEntry) {
        buffer.log(TAG, DEBUG, {
            str1 = entry.logKey
        }, {
            "Keyguard Hide Notification: $str1"
            "No alerting: notification hidden on lock screen: $str1"
        })
    }
}
+2 −2
Original line number Diff line number Diff line
@@ -505,7 +505,7 @@ public class NotificationInterruptStateProviderImpl implements NotificationInter

        if (entry.getRanking().getLockscreenVisibilityOverride()
                == Notification.VISIBILITY_PRIVATE) {
            if (log) mLogger.logNoPulsingNotificationHidden(entry);
            if (log) mLogger.logNoPulsingNotificationHiddenOverride(entry);
            return false;
        }

@@ -536,7 +536,7 @@ public class NotificationInterruptStateProviderImpl implements NotificationInter
        }

        if (mKeyguardNotificationVisibilityProvider.shouldHideNotification(entry)) {
            if (log) mLogger.keyguardHideNotification(entry);
            if (log) mLogger.logNoAlertingNotificationHidden(entry);
            return false;
        }