diff --git a/app/src/main/kotlin/com/tutpro/baresip/InCallService.kt b/app/src/main/kotlin/com/tutpro/baresip/InCallService.kt index ae87ef99..b65e7d0e 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/InCallService.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/InCallService.kt @@ -5,11 +5,20 @@ 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.") - Log.d("Baresip", "InCallService onBind with intent: ${intent.action}") + Log.d(TAG, "InCallService onBind with intent: ${intent.action}") return null } -} \ No newline at end of file +} + +/*import android.telecom.InCallService +import android.telecom.Call + +class InCallService : InCallService() { + override fun onCallAdded(call: Call) { + super.onCallAdded(call) + // This is triggered when the system wants YOU to show the call UI + Log.d("Baresip", "InCallService: Call added") + } +}*/