Remove incoming call notification when call is declined

This commit is contained in:
Juha Heinanen
2026-06-23 09:54:51 +03:00
parent e425cd080a
commit d8d73e14ae

View File

@ -636,6 +636,7 @@ class BaresipService: Service() {
"Call Reject" -> {
val callp = intent!!.getLongExtra("callp", 0L)
val call = Call.ofCallp(callp)
nm.cancel(CALL_NOTIFICATION_ID)
stopRinging()
stopMediaPlayer()
if (call == null) {