feat(notifications): hide message sensitive content on lockscreen (#2694)

This commit is contained in:
Aleksandr Lozhkovoi 2025-08-13 08:55:13 +02:00 committed by GitHub
parent a35e43d979
commit aeeba7f731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -295,6 +295,7 @@ class MeshServiceNotifications(private val context: Context) {
.setCategory(Notification.CATEGORY_MESSAGE)
.setAutoCancel(true)
.setStyle(style)
.setVisibility(NotificationCompat.VISIBILITY_PRIVATE)
.setWhen(System.currentTimeMillis())
.setShowWhen(true)