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

Commit b193595a authored by Julia Tuttle's avatar Julia Tuttle
Browse files

Clarify a couple messages in NotifInterruptLog

Bug: 261728888
Test: manual
Flag: none needed, minor logging method name/message change
Change-Id: I9eeaa03b42874726cbcac58544ae0e2e70d68d05
parent 936b28ea
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;
        }