mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-01-05 12:26:45 +01:00
reducing the ongoing call notification importance to avoid playing the audio
This commit is contained in:
parent
a392759ae0
commit
fd228b85a6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user