-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show notifications as popup #4974
base: develop
Are you sure you want to change the base?
Conversation
4a7349f
to
2caeede
Compare
This will 100% bring us complaints. Please let us ask users first. |
What would the problems and complaints be? |
People who think popup is too introduing and have to go to settings and turn it off per channel. Just a simple question: |
Wouldn't that be equally true for audible notifications? Too intruding and must be configured for 9 channels? |
…ng them as group should still only make one sound) Also: Several name combination fixes
@@ -583,16 +581,11 @@ class NotificationService @Inject constructor( | |||
} | |||
|
|||
private fun joinNames(notifications1: List<StatusBarNotification>, notifications2: List<Notification>): String? { | |||
val names = java.util.ArrayList<String>(notifications1.size + notifications2.size) | |||
val names1 = notifications1.map { it.notification.extras.getString(EXTRA_ACCOUNT_NAME) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use mapNotNull
here and save the filterNotNull()
below
No migration provided. As it makes not sense to delete existing notifications channels for this small change.