Preserve event-local timestamp timezone

This commit is contained in:
ajp_anton
2026-07-23 10:51:51 +00:00
parent dd1c9e5a01
commit 0091eb5d49
5 changed files with 21 additions and 6 deletions
@@ -81,6 +81,7 @@ class NotificationCaptureService : NotificationListenerService() {
NotificationRuleEvaluator.allows(ruleStore.ruleFor(LoggingType.IMAGE_CONTENT), snapshot.packageName)
val entry = NotificationLogEntry(
recordedAtEpochMillis = System.currentTimeMillis(),
eventTimeZoneId = java.util.TimeZone.getDefault().id,
packageName = snapshot.packageName,
appName = appName,
action = action,