2528: Do not remove notifications on general resume (#3312)

* 2528: Do not remove notifications on general resume

* 2528: Have notification removal in the right onResume
This commit is contained in:
UlrichKu 2023-02-25 21:18:03 +01:00 committed by GitHub
commit 4ab305f3dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -117,7 +117,8 @@ class SendStatusBroadcastReceiver : BroadcastReceiver() {
builder.setCategory(NotificationCompat.CATEGORY_SOCIAL)
builder.setOnlyAlertOnce(true)
notificationManager.notify(notificationId, builder.build())
// There is a separate "I am sending" notification, so simply remove the handled one.
notificationManager.cancel(notificationId)
}
}
}