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()
|
task.interrupt()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onTaskRemoved(rootIntent: Intent?) {
|
||||||
|
notificationManager?.cancel(notificationId)
|
||||||
|
|
||||||
|
super.onTaskRemoved(rootIntent)
|
||||||
|
}
|
||||||
|
|
||||||
override fun onDestroy() {
|
override fun onDestroy() {
|
||||||
|
|
||||||
unregisterReceiver(lockBroadcastReceiver)
|
unregisterReceiver(lockBroadcastReceiver)
|
||||||
|
|||||||
Reference in New Issue
Block a user