mirror of
https://github.com/FossifyOrg/Contacts.git
synced 2026-05-18 11:34:51 -04:00
reducing the ongoing call notification importance to avoid playing the audio
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user