reducing the ongoing call notification importance to avoid playing the audio

This commit is contained in:
tibbi 2018-11-21 18:26:40 +01:00
parent a392759ae0
commit fd228b85a6
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class DialerCallService : Service() {
if (isOreoPlus()) {
val notificationManager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
val name = resources.getString(R.string.app_name)
val importance = NotificationManager.IMPORTANCE_DEFAULT
val importance = NotificationManager.IMPORTANCE_LOW
NotificationChannel(channelId, name, importance).apply {
enableLights(false)
enableVibration(false)