android: Allow notification dismissed via swipe on Android 13 (#477)

Allow notification dismissed via swipe on Android 13

Signed-off-by: Josh Vocal <joshvocal@gmail.com>
pull/481/head
Josh Vocal 3 months ago committed by GitHub
parent 8648c2ef27
commit 26e5e796fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -500,6 +500,7 @@ open class UninitializedApp : Application() {
.setOnlyAlertOnce(!vpnRunning) .setOnlyAlertOnce(!vpnRunning)
.setOngoing(vpnRunning) .setOngoing(vpnRunning)
.setSilent(true) .setSilent(true)
.setOngoing(false)
.setPriority(NotificationCompat.PRIORITY_DEFAULT) .setPriority(NotificationCompat.PRIORITY_DEFAULT)
.addAction(NotificationCompat.Action.Builder(0, actionLabel, pendingButtonIntent).build()) .addAction(NotificationCompat.Action.Builder(0, actionLabel, pendingButtonIntent).build())
.setContentIntent(pendingIntent) .setContentIntent(pendingIntent)

Loading…
Cancel
Save