Commit a8f2e92b authored by Daniel Wolf's avatar Daniel Wolf

Use the high priority channel for the crash notification

parent 7805cb24
Pipeline #6116 passed with stage
in 2 minutes and 20 seconds
......@@ -53,10 +53,11 @@ class SmokeScreen : Application() {
val customUncaughtExceptionHandler = EnrichableUncaughtExceptionHandler()
private fun showCrashNotification() {
val notification =
NotificationCompat.Builder(this, Notifications.noConnectionNotificationChannelId(this))
NotificationCompat.Builder(this, Notifications.getHighPriorityChannelId(this))
.setSmallIcon(R.drawable.ic_cloud_warn)
.setOngoing(false)
.setAutoCancel(true)
.setPriority(NotificationCompat.PRIORITY_HIGH)
.setContentIntent(
PendingIntent.getActivity(
this, RequestCodes.CRASH_NOTIFICATION,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment