From aeeba7f731b240d0c7eab7aa8b7d9cad3f4e9187 Mon Sep 17 00:00:00 2001 From: Aleksandr Lozhkovoi Date: Wed, 13 Aug 2025 08:55:13 +0200 Subject: [PATCH] feat(notifications): hide message sensitive content on lockscreen (#2694) --- .../java/com/geeksville/mesh/service/MeshServiceNotifications.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/geeksville/mesh/service/MeshServiceNotifications.kt b/app/src/main/java/com/geeksville/mesh/service/MeshServiceNotifications.kt index 4d622cc71..7c8683444 100644 --- a/app/src/main/java/com/geeksville/mesh/service/MeshServiceNotifications.kt +++ b/app/src/main/java/com/geeksville/mesh/service/MeshServiceNotifications.kt @@ -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)