fix(app): hide session metadata from public lock screen

Keep the ongoing VPN notification visible while marking its timer and speed content private so Android does not expose session metadata in public lock-screen previews.
This commit is contained in:
Naveax committed 2026-08-31 20:24:04 +03:00
1 parent f7f425517c
commit 0ab008b80b
1 file changed
+3 -1
+3 -1
View File
@@ -65,7 +65,9 @@ class VpnNotificationManager {
playSound: false, playSound: false,
enableVibration: false, enableVibration: false,
showWhen: false, showWhen: false,
visibility: NotificationVisibility.public, // Session time/speed is usage metadata. Keep it out of public lock-screen
// previews while leaving the ongoing VPN status notification intact.
visibility: NotificationVisibility.private,
usesChronometer: false, usesChronometer: false,
category: AndroidNotificationCategory.service, category: AndroidNotificationCategory.service,
colorized: true, colorized: true,