Loading services/core/java/com/android/server/notification/NotificationAttentionHelper.java +2 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public final class NotificationAttentionHelper { private static final float DEFAULT_VOLUME = 1.0f; // TODO (b/291899544): remove for release private static final int DEFAULT_NOTIFICATION_COOLDOWN_ENABLED = 1; private static final int DEFAULT_NOTIFICATION_COOLDOWN_ENABLED_FOR_WORK = 0; private static final int DEFAULT_NOTIFICATION_COOLDOWN_ENABLED_FOR_WORK = 1; private static final int DEFAULT_NOTIFICATION_COOLDOWN_ALL = 1; private static final int DEFAULT_NOTIFICATION_COOLDOWN_VIBRATE_UNLOCKED = 0; Loading Loading @@ -1405,6 +1405,7 @@ public final class NotificationAttentionHelper { long timestampMillis) { super.setLastNotificationUpdateTimeMs(record, timestampMillis); mLastNotificationTimestamp = timestampMillis; mAppStrategy.setLastNotificationUpdateTimeMs(record, timestampMillis); } long getLastNotificationUpdateTimeMs(final NotificationRecord record) { Loading Loading
services/core/java/com/android/server/notification/NotificationAttentionHelper.java +2 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public final class NotificationAttentionHelper { private static final float DEFAULT_VOLUME = 1.0f; // TODO (b/291899544): remove for release private static final int DEFAULT_NOTIFICATION_COOLDOWN_ENABLED = 1; private static final int DEFAULT_NOTIFICATION_COOLDOWN_ENABLED_FOR_WORK = 0; private static final int DEFAULT_NOTIFICATION_COOLDOWN_ENABLED_FOR_WORK = 1; private static final int DEFAULT_NOTIFICATION_COOLDOWN_ALL = 1; private static final int DEFAULT_NOTIFICATION_COOLDOWN_VIBRATE_UNLOCKED = 0; Loading Loading @@ -1405,6 +1405,7 @@ public final class NotificationAttentionHelper { long timestampMillis) { super.setLastNotificationUpdateTimeMs(record, timestampMillis); mLastNotificationTimestamp = timestampMillis; mAppStrategy.setLastNotificationUpdateTimeMs(record, timestampMillis); } long getLastNotificationUpdateTimeMs(final NotificationRecord record) { Loading