Avoid crash in IncallService bind

This commit is contained in:
Juha Heinanen
2025-04-24 16:12:55 +03:00
parent 8c86c14844
commit 8f7ddf81ca

View File

@ -1,14 +1,16 @@
package com.tutpro.baresip
import android.app.Service
import android.content.ContentValues.TAG
import android.content.Intent
import android.os.IBinder
// This is needed in order to allow choosing baresip as default Phone app
class InCallService : Service() {
override fun onBind(intent: Intent): IBinder {
TODO("Return the communication channel to the service.")
override fun onBind(intent: Intent): IBinder? {
// TODO("Return the communication channel to the service.")
Log.d(TAG, "InCallService onBind with intent: ${intent.action}")
return null
}
}