mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat(notifications): hide message sensitive content on lockscreen (#2694)
This commit is contained in:
parent
a35e43d979
commit
aeeba7f731
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue