]> gitweb.stoutner.com Git - PrivacyCell.git/blobdiff - app/src/main/java/com/stoutner/privacycell/services/RealtimeMonitoringService.kt
Allow Privacy Cell to be included in system backups. https://redmine.stoutner.com...
[PrivacyCell.git] / app / src / main / java / com / stoutner / privacycell / services / RealtimeMonitoringService.kt
index 19e1a3e2cede164c571b6dbc4558801bd5108979..9c1b05231ecac1a8ca1d9f2740ae6ecc6e3ec1cb 100644 (file)
@@ -148,7 +148,7 @@ class RealtimeMonitoringService : Service() {
             // Set the color.
             notificationBuilder.setColor(getColor(R.color.red_notification_icon))
 
-            // Prevent swiping to dismiss the notification.
+            // Prevent swiping to dismiss the notification.  This no longer works (except on the lock screen) in API >= 34.
             notificationBuilder.setOngoing(true)
 
             // Start the foreground notification.
@@ -254,7 +254,7 @@ class RealtimeMonitoringService : Service() {
                 // Set the color.
                 antiquatedNetworkNotificationBuilder.setColor(getColor(R.color.red_notification_icon))
 
-                // Prevent swiping to dismiss the notification.
+                // Prevent swiping to dismiss the notification.  This no longer works (except on the lock screen) in API >= 34.
                 antiquatedNetworkNotificationBuilder.setOngoing(true)
 
                 // Update the notification.
@@ -281,7 +281,7 @@ class RealtimeMonitoringService : Service() {
                 // Set the color.
                 insecureNetworkNotificationBuilder.setColor(getColor(R.color.yellow_notification_icon))
 
-                // Prevent swiping to dismiss the notification.
+                // Prevent swiping to dismiss the notification.  This no longer works (except on the lock screen) in API >= 34.
                 insecureNetworkNotificationBuilder.setOngoing(true)
 
                 // Update the notification.
@@ -308,7 +308,7 @@ class RealtimeMonitoringService : Service() {
                 // Set the color.
                 secureNetworkNotificationBuilder.setColor(getColor(R.color.blue_icon))
 
-                // Prevent swiping to dismiss the notification.
+                // Prevent swiping to dismiss the notification.  This no longer works (except on the lock screen) in API >= 34.
                 secureNetworkNotificationBuilder.setOngoing(true)
 
                 // Update the notification.