Remove incoming call notification when call is declined
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user