Skip to content
Snippets Groups Projects
Verified Commit be98f54e authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Let’s hope by setting group keys notifications won’t be wrongly grouped

anymore
parent 20ce4552
No related branches found
No related tags found
No related merge requests found
......@@ -169,6 +169,7 @@ class QuasseldroidNotificationManager @Inject constructor(private val context: C
.setSmallIcon(R.mipmap.ic_logo)
.setColor(context.getColorCompat(R.color.colorPrimary))
.setLights(context.getColorCompat(R.color.colorPrimary), 200, 200)
.setGroup("notification-${buffer.networkName}")
.apply {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
var defaults = 0
......@@ -267,6 +268,7 @@ class QuasseldroidNotificationManager @Inject constructor(private val context: C
.setSmallIcon(R.mipmap.ic_logo)
.setColor(context.getColorCompat(R.color.colorPrimary))
.setPriority(NotificationCompat.PRIORITY_MIN)
.setGroup("system-background")
return Handle(BACKGROUND_NOTIFICATION_ID, notification)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment