mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Remove entry notifications after killing app (by swap)
This commit is contained in:
@@ -32,6 +32,12 @@ abstract class EntryNotificationService : NotificationService() {
|
||||
task.interrupt()
|
||||
}
|
||||
|
||||
override fun onTaskRemoved(rootIntent: Intent?) {
|
||||
notificationManager?.cancel(notificationId)
|
||||
|
||||
super.onTaskRemoved(rootIntent)
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
|
||||
unregisterReceiver(lockBroadcastReceiver)
|
||||
|
||||
Reference in New Issue
Block a user